Skip to content

Commit ec0dfa5

Browse files
committed
add customization blocks
1 parent eb8c32f commit ec0dfa5

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

charts/aws-standalone-cp/templates/awsmachinetemplate-controlplane.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ spec:
2424
publicIP: {{ .Values.publicIP }}
2525
rootVolume:
2626
size: {{ .Values.controlPlane.rootVolumeSize }}
27+
# --- START CUSTOMIZATION: Do not remove ---
2728
encrypted: {{ .Values.controlPlane.rootVolumeEncryption }}
29+
# --- END CUSTOMIZATION ---
2830
{{- with .Values.controlPlane.nonRootVolumes }}
2931
nonRootVolumes: {{- toYaml . | nindent 8 }}
3032
{{- end }}

charts/aws-standalone-cp/templates/awsmachinetemplate-worker.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ spec:
2424
publicIP: {{ .Values.publicIP }}
2525
rootVolume:
2626
size: {{ .Values.worker.rootVolumeSize }}
27+
# --- START CUSTOMIZATION: Do not remove ---
2728
encrypted: {{ .Values.worker.rootVolumeEncryption }}
29+
# --- END CUSTOMIZATION ---
2830
{{- with .Values.worker.nonRootVolumes }}
2931
nonRootVolumes: {{- toYaml . | nindent 8 }}
3032
{{- end }}

charts/aws-standalone-cp/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ controlPlane: # @schema description: The configuration of the control plane mach
4545
iamInstanceProfile: control-plane.cluster-api-provider-aws.sigs.k8s.io # @schema description: A name of an IAM instance profile to assign to the instance; type: string; required: true
4646
instanceType: "" # @schema description: The type of instance to create. Example: m4.xlarge; type: string; required: true
4747
rootVolumeSize: 8 # @schema description: Specifies size (in Gi) of the root storage device. Must be greater than the image snapshot size or 8 (whichever is greater); type: integer; minimum: 8
48+
# --- START CUSTOMIZATION: Do not remove ---
4849
rootVolumeEncryption: true # @schema description: Sets encryption for the root volume as true by default.
50+
# --- END CUSTOMIZATION ---
4951
imageLookup: # @schema description: AMI lookup parameters; type: object
5052
format: "amzn2-ami-hvm*-gp2" # @schema description: The AMI naming format to look up the image for this machine. It will be ignored if an explicit AMI is set; type: string; required: true
5153
org: "137112412989" # @schema description: The AWS Organization ID to use for image lookup if AMI is not set; type: string; required: true
@@ -63,7 +65,9 @@ worker: # @schema description: The configuration of the worker machines; type: o
6365
iamInstanceProfile: control-plane.cluster-api-provider-aws.sigs.k8s.io # @schema description: A name of an IAM instance profile to assign to the instance; type: string; required: true
6466
instanceType: "" # @schema description: The type of instance to create. Example: m4.xlarge; type: string; required: true
6567
rootVolumeSize: 8 # @schema description: Specifies size (in Gi) of the root storage device. Must be greater than the image snapshot size or 8 (whichever is greater); type: integer; minimum: 8
68+
# --- START CUSTOMIZATION: Do not remove ---
6669
rootVolumeEncryption: true # @schema description: Sets encryption for the root volume as true by default.
70+
# --- END CUSTOMIZATION ---
6771
imageLookup: # @schema description: AMI lookup parameters; type: object
6872
format: "amzn2-ami-hvm*-gp2" # @schema description: The AMI naming format to look up the image for this machine. It will be ignored if an explicit AMI is set; type: string; required: true
6973
org: "137112412989" # @schema description: The AWS Organization ID to use for image lookup if AMI is not set; type: string; required: true

0 commit comments

Comments
 (0)