Skip to content

Commit 01fe6ae

Browse files
committed
Add podLabels parameter
1 parent ab9690d commit 01fe6ae

File tree

4 files changed

+11
-0
lines changed

4 files changed

+11
-0
lines changed

charts/aws-fsx-csi-driver/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Helm chart
22

3+
# v1.10.1
4+
* parametrize pod labels
5+
36
# v1.10.0
47
* Use driver image 1.3.0
58

charts/aws-fsx-csi-driver/templates/controller-deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ spec:
1919
labels:
2020
app: fsx-csi-controller
2121
{{- include "aws-fsx-csi-driver.labels" . | nindent 8 }}
22+
{{- with .Values.controller.podLabels }}
23+
{{- toYaml . | nindent 8 }}
24+
{{- end }}
2225
spec:
2326
{{- if .Values.imagePullSecrets }}
2427
imagePullSecrets:

charts/aws-fsx-csi-driver/templates/node-daemonset.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ spec:
1818
labels:
1919
app: fsx-csi-node
2020
{{- include "aws-fsx-csi-driver.labels" . | nindent 8 }}
21+
{{- with .Values.node.podLabels }}
22+
{{- toYaml . | nindent 8 }}
23+
{{- end }}
2124
spec:
2225
{{- if .Values.imagePullSecrets }}
2326
imagePullSecrets:

charts/aws-fsx-csi-driver/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ controller:
5454
annotations: {}
5555
logLevel: 2
5656
podAnnotations: {}
57+
podLabels: {}
5758
# AWS region to use. If not specified then the region will be looked up via the AWS EC2 metadata
5859
# service.
5960
# ---
@@ -88,6 +89,7 @@ node:
8889
name: fsx-csi-node-sa
8990
annotations: {}
9091
podAnnotations: {}
92+
podLabels: {}
9193
tolerateAllTaints: true
9294
tolerations:
9395
- operator: Exists

0 commit comments

Comments
 (0)