Skip to content

Commit 6f426ea

Browse files
authored
Merge pull request #21 from amazeeio/PLAT-902
Enable root volume encryption by default
2 parents 3337add + affe5b1 commit 6f426ea

File tree

4 files changed

+13
-1
lines changed

4 files changed

+13
-1
lines changed

charts/aws-standalone-cp/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ type: application
66
# This is the chart version. This version number should be incremented each time you make changes
77
# to the chart and its templates, including the app version.
88
# Versions are expected to follow Semantic Versioning (https://semver.org/)
9-
version: 1.4.0
9+
version: 1.4.1
1010
# This is the version number of the application being deployed. This version number should be
1111
# incremented each time you make changes to the application. Versions are not expected to
1212
# follow Semantic Versioning. They should reflect the version the application is using.

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

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

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

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

charts/aws-standalone-cp/values.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +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 ---
49+
rootVolumeEncryption: true # @schema description: Sets encryption for the root volume as true by default.
50+
# --- END CUSTOMIZATION ---
4851
imageLookup: # @schema description: AMI lookup parameters; type: object
4952
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
5053
org: "137112412989" # @schema description: The AWS Organization ID to use for image lookup if AMI is not set; type: string; required: true
@@ -62,6 +65,9 @@ worker: # @schema description: The configuration of the worker machines; type: o
6265
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
6366
instanceType: "" # @schema description: The type of instance to create. Example: m4.xlarge; type: string; required: true
6467
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 ---
69+
rootVolumeEncryption: true # @schema description: Sets encryption for the root volume as true by default.
70+
# --- END CUSTOMIZATION ---
6571
imageLookup: # @schema description: AMI lookup parameters; type: object
6672
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
6773
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)