Skip to content

Commit af16cf9

Browse files
Merge pull request #73 from ToonTijtgat3/master
posibility to have additional pod labels.
2 parents d405b96 + 66baab3 commit af16cf9

File tree

4 files changed

+11
-0
lines changed

4 files changed

+11
-0
lines changed

charts/mageai/templates/deployment.yaml

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

charts/mageai/templates/scheduler.yaml

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

charts/mageai/templates/webservice.yaml

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

charts/mageai/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ serviceAccount:
8484

8585
podAnnotations: {}
8686

87+
podLabels: {}
88+
8789
podSecurityContext: {}
8890
# fsGroup: 2000
8991

0 commit comments

Comments
 (0)