Skip to content

Commit

Permalink
test: set default dns fields in all examples
Browse files Browse the repository at this point in the history
  • Loading branch information
dkoshkin committed Oct 31, 2024
1 parent 5dc9fb6 commit 413e47f
Show file tree
Hide file tree
Showing 16 changed files with 40 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/capi-quick-start/aws-cluster-calico-crs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ spec:
baseOS: ${AMI_LOOKUP_BASEOS}
format: ${AMI_LOOKUP_FORMAT}
org: "${AMI_LOOKUP_ORG}"
dns:
coreDNS: {}
encryptionAtRest:
providers:
- aescbc: {}
Expand Down
2 changes: 2 additions & 0 deletions examples/capi-quick-start/aws-cluster-calico-helm-addon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ spec:
baseOS: ${AMI_LOOKUP_BASEOS}
format: ${AMI_LOOKUP_FORMAT}
org: "${AMI_LOOKUP_ORG}"
dns:
coreDNS: {}
encryptionAtRest:
providers:
- aescbc: {}
Expand Down
2 changes: 2 additions & 0 deletions examples/capi-quick-start/aws-cluster-cilium-crs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ spec:
baseOS: ${AMI_LOOKUP_BASEOS}
format: ${AMI_LOOKUP_FORMAT}
org: "${AMI_LOOKUP_ORG}"
dns:
coreDNS: {}
encryptionAtRest:
providers:
- aescbc: {}
Expand Down
2 changes: 2 additions & 0 deletions examples/capi-quick-start/aws-cluster-cilium-helm-addon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ spec:
baseOS: ${AMI_LOOKUP_BASEOS}
format: ${AMI_LOOKUP_FORMAT}
org: "${AMI_LOOKUP_ORG}"
dns:
coreDNS: {}
encryptionAtRest:
providers:
- aescbc: {}
Expand Down
2 changes: 2 additions & 0 deletions examples/capi-quick-start/docker-cluster-calico-crs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ spec:
- end: 198.18.1.30
start: 198.18.1.21
provider: MetalLB
dns:
coreDNS: {}
encryptionAtRest:
providers:
- aescbc: {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ spec:
- end: 198.18.1.30
start: 198.18.1.21
provider: MetalLB
dns:
coreDNS: {}
encryptionAtRest:
providers:
- aescbc: {}
Expand Down
2 changes: 2 additions & 0 deletions examples/capi-quick-start/docker-cluster-cilium-crs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ spec:
- end: 198.18.1.30
start: 198.18.1.21
provider: MetalLB
dns:
coreDNS: {}
encryptionAtRest:
providers:
- aescbc: {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ spec:
- end: 198.18.1.30
start: 198.18.1.21
provider: MetalLB
dns:
coreDNS: {}
encryptionAtRest:
providers:
- aescbc: {}
Expand Down
2 changes: 2 additions & 0 deletions examples/capi-quick-start/nutanix-cluster-calico-crs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ spec:
systemDiskSize: 40Gi
vcpuSockets: 2
vcpusPerSocket: 1
dns:
coreDNS: {}
encryptionAtRest:
providers:
- aescbc: {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ spec:
systemDiskSize: 40Gi
vcpuSockets: 2
vcpusPerSocket: 1
dns:
coreDNS: {}
encryptionAtRest:
providers:
- aescbc: {}
Expand Down
2 changes: 2 additions & 0 deletions examples/capi-quick-start/nutanix-cluster-cilium-crs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ spec:
systemDiskSize: 40Gi
vcpuSockets: 2
vcpusPerSocket: 1
dns:
coreDNS: {}
encryptionAtRest:
providers:
- aescbc: {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ spec:
systemDiskSize: 40Gi
vcpuSockets: 2
vcpusPerSocket: 1
dns:
coreDNS: {}
encryptionAtRest:
providers:
- aescbc: {}
Expand Down
3 changes: 3 additions & 0 deletions hack/examples/bases/aws/cluster/kustomization.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ patches:
- target:
kind: Cluster
path: ../../../patches/encryption.yaml
- target:
kind: Cluster
path: ../../../patches/coredns.yaml

# Delete the clusterclass-specific resources.
- target:
Expand Down
3 changes: 3 additions & 0 deletions hack/examples/bases/docker/cluster/kustomization.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ patches:
- target:
kind: Cluster
path: ../../../patches/encryption.yaml
- target:
kind: Cluster
path: ../../../patches/coredns.yaml

# Deploy ServiceLoadBalancer MetalLB
- target:
Expand Down
3 changes: 3 additions & 0 deletions hack/examples/bases/nutanix/cluster/kustomization.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ patches:
- target:
kind: Cluster
path: ../../../patches/encryption.yaml
- target:
kind: Cluster
path: ../../../patches/coredns.yaml

# Remove Additional Trust Bundle ConfigMap
- target:
Expand Down
7 changes: 7 additions & 0 deletions hack/examples/patches/coredns.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Copyright 2024 Nutanix. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

- op: "add"
path: "/spec/topology/variables/0/value/dns"
value:
coreDNS: {}

0 comments on commit 413e47f

Please sign in to comment.