Skip to content

Commit 12e2d24

Browse files
committed
docs: add encryptionAtRest config in capi-quick-start
1 parent 7caae58 commit 12e2d24

16 files changed

+53
-0
lines changed

examples/capi-quick-start/aws-cluster-calico-crs.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ spec:
4747
baseOS: ${AMI_LOOKUP_BASEOS}
4848
format: ${AMI_LOOKUP_FORMAT}
4949
org: "${AMI_LOOKUP_ORG}"
50+
encryptionAtRest:
51+
providers:
52+
- aescbc: {}
5053
- name: workerConfig
5154
value:
5255
aws:

examples/capi-quick-start/aws-cluster-calico-helm-addon.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ spec:
4747
baseOS: ${AMI_LOOKUP_BASEOS}
4848
format: ${AMI_LOOKUP_FORMAT}
4949
org: "${AMI_LOOKUP_ORG}"
50+
encryptionAtRest:
51+
providers:
52+
- aescbc: {}
5053
- name: workerConfig
5154
value:
5255
aws:

examples/capi-quick-start/aws-cluster-cilium-crs.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ spec:
4747
baseOS: ${AMI_LOOKUP_BASEOS}
4848
format: ${AMI_LOOKUP_FORMAT}
4949
org: "${AMI_LOOKUP_ORG}"
50+
encryptionAtRest:
51+
providers:
52+
- aescbc: {}
5053
- name: workerConfig
5154
value:
5255
aws:

examples/capi-quick-start/aws-cluster-cilium-helm-addon.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ spec:
4747
baseOS: ${AMI_LOOKUP_BASEOS}
4848
format: ${AMI_LOOKUP_FORMAT}
4949
org: "${AMI_LOOKUP_ORG}"
50+
encryptionAtRest:
51+
providers:
52+
- aescbc: {}
5053
- name: workerConfig
5154
value:
5255
aws:

examples/capi-quick-start/docker-cluster-calico-crs.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ spec:
2929
strategy: ClusterResourceSet
3030
nfd:
3131
strategy: ClusterResourceSet
32+
encryptionAtRest:
33+
providers:
34+
- aescbc: {}
3235
- name: workerConfig
3336
value: {}
3437
version: ${KUBERNETES_VERSION}

examples/capi-quick-start/docker-cluster-calico-helm-addon.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ spec:
2929
strategy: HelmAddon
3030
nfd:
3131
strategy: HelmAddon
32+
encryptionAtRest:
33+
providers:
34+
- aescbc: {}
3235
- name: workerConfig
3336
value: {}
3437
version: ${KUBERNETES_VERSION}

examples/capi-quick-start/docker-cluster-cilium-crs.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ spec:
2929
strategy: ClusterResourceSet
3030
nfd:
3131
strategy: ClusterResourceSet
32+
encryptionAtRest:
33+
providers:
34+
- aescbc: {}
3235
- name: workerConfig
3336
value: {}
3437
version: ${KUBERNETES_VERSION}

examples/capi-quick-start/docker-cluster-cilium-helm-addon.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ spec:
2929
strategy: HelmAddon
3030
nfd:
3131
strategy: HelmAddon
32+
encryptionAtRest:
33+
providers:
34+
- aescbc: {}
3235
- name: workerConfig
3336
value: {}
3437
version: ${KUBERNETES_VERSION}

examples/capi-quick-start/nutanix-cluster-calico-crs.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@ spec:
103103
systemDiskSize: 40Gi
104104
vcpuSockets: 2
105105
vcpusPerSocket: 1
106+
encryptionAtRest:
107+
providers:
108+
- aescbc: {}
106109
imageRegistries:
107110
- credentials:
108111
secretRef:

examples/capi-quick-start/nutanix-cluster-calico-helm-addon.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@ spec:
103103
systemDiskSize: 40Gi
104104
vcpuSockets: 2
105105
vcpusPerSocket: 1
106+
encryptionAtRest:
107+
providers:
108+
- aescbc: {}
106109
imageRegistries:
107110
- credentials:
108111
secretRef:

examples/capi-quick-start/nutanix-cluster-cilium-crs.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@ spec:
103103
systemDiskSize: 40Gi
104104
vcpuSockets: 2
105105
vcpusPerSocket: 1
106+
encryptionAtRest:
107+
providers:
108+
- aescbc: {}
106109
imageRegistries:
107110
- credentials:
108111
secretRef:

examples/capi-quick-start/nutanix-cluster-cilium-helm-addon.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@ spec:
103103
systemDiskSize: 40Gi
104104
vcpuSockets: 2
105105
vcpusPerSocket: 1
106+
encryptionAtRest:
107+
providers:
108+
- aescbc: {}
106109
imageRegistries:
107110
- credentials:
108111
secretRef:

hack/examples/bases/aws/cluster/kustomization.yaml.tmpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ patches:
4545
- target:
4646
kind: Cluster
4747
path: ../../../patches/aws/config-var.yaml
48+
- target:
49+
kind: Cluster
50+
path: ../../../patches/encryption.yaml
4851

4952
# Delete the clusterclass-specific resources.
5053
- target:

hack/examples/bases/docker/cluster/kustomization.yaml.tmpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,6 @@ patches:
3535
- target:
3636
kind: Cluster
3737
path: ../../../patches/cluster-autoscaler.yaml
38+
- target:
39+
kind: Cluster
40+
path: ../../../patches/encryption.yaml

hack/examples/bases/nutanix/cluster/kustomization.yaml.tmpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ patches:
3636
- target:
3737
kind: Cluster
3838
path: ../../../patches/nutanix/initialize-variables.yaml
39+
- target:
40+
kind: Cluster
41+
path: ../../../patches/encryption.yaml
3942

4043
# Remove Additional Trust Bundle ConfigMap
4144
- target:

hack/examples/patches/encryption.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Copyright 2024 Nutanix. All rights reserved.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
- op: "add"
5+
path: "/spec/topology/variables/0/value/encryptionAtRest"
6+
value:
7+
providers:
8+
- aescbc: {}

0 commit comments

Comments
 (0)