diff --git a/charts/aws-fsx-csi-driver/CHANGELOG.md b/charts/aws-fsx-csi-driver/CHANGELOG.md index 01dc3b4bd..11a736149 100644 --- a/charts/aws-fsx-csi-driver/CHANGELOG.md +++ b/charts/aws-fsx-csi-driver/CHANGELOG.md @@ -1,5 +1,8 @@ # Helm chart +# v1.11.1 +* parametrize pod labels + # v1.11.0 * Use driver image 1.4.0 diff --git a/charts/aws-fsx-csi-driver/templates/controller-deployment.yaml b/charts/aws-fsx-csi-driver/templates/controller-deployment.yaml index a854968c5..ceddc502e 100644 --- a/charts/aws-fsx-csi-driver/templates/controller-deployment.yaml +++ b/charts/aws-fsx-csi-driver/templates/controller-deployment.yaml @@ -19,6 +19,9 @@ spec: labels: app: fsx-csi-controller {{- include "aws-fsx-csi-driver.labels" . | nindent 8 }} + {{- if .Values.controller.podLabels }} + {{- toYaml .Values.controller.podLabels | nindent 8 }} + {{- end }} spec: {{- if .Values.imagePullSecrets }} imagePullSecrets: diff --git a/charts/aws-fsx-csi-driver/templates/node-daemonset.yaml b/charts/aws-fsx-csi-driver/templates/node-daemonset.yaml index c3ed1b68f..4ba003e66 100644 --- a/charts/aws-fsx-csi-driver/templates/node-daemonset.yaml +++ b/charts/aws-fsx-csi-driver/templates/node-daemonset.yaml @@ -18,6 +18,9 @@ spec: labels: app: fsx-csi-node {{- include "aws-fsx-csi-driver.labels" . | nindent 8 }} + {{- if .Values.node.podLabels }} + {{- toYaml .Values.node.podLabels | nindent 8 }} + {{- end }} spec: {{- if .Values.imagePullSecrets }} imagePullSecrets: diff --git a/charts/aws-fsx-csi-driver/values.yaml b/charts/aws-fsx-csi-driver/values.yaml index ddcff70b6..86f3ed424 100644 --- a/charts/aws-fsx-csi-driver/values.yaml +++ b/charts/aws-fsx-csi-driver/values.yaml @@ -54,6 +54,7 @@ controller: annotations: {} logLevel: 2 podAnnotations: {} + podLabels: {} # AWS region to use. If not specified then the region will be looked up via the AWS EC2 metadata # service. # --- @@ -88,6 +89,7 @@ node: name: fsx-csi-node-sa annotations: {} podAnnotations: {} + podLabels: {} terminationGracePeriodSeconds: 30 tolerateAllTaints: true tolerations: