File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11apiVersion : v2
22name : generic
33description : Generic Chart
4- version : 1.8.2
4+ version : 1.9.0
Original file line number Diff line number Diff line change @@ -167,12 +167,12 @@ spec:
167167 {{- end }}
168168 {{- end }}
169169 {{- end }}
170- {{- with .Values.nodeSelector }}
170+ {{- with .Values.deployment.nodeSelector | default .Values. nodeSelector }}
171171 nodeSelector : {{ toYaml . | nindent 8 }}
172172 {{- end }}
173- {{- with .Values.affinity }}
173+ {{- with .Values.deployment.affinity | default .Values. affinity }}
174174 affinity : {{ toYaml . | nindent 8 }}
175175 {{- end }}
176- {{- with .Values.tolerations }}
176+ {{- with .Values.deployment.tolerations | default .Values. tolerations }}
177177 tolerations : {{ toYaml . | nindent 8 }}
178178 {{- end }}
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ metadata:
2323 " helm.sh/hook " : {{ . }}
2424 {{- end }}
2525 {{- with $job.hookWeight }}
26- " helm.sh/hook-weight " : {{ . }}
26+ " helm.sh/hook-weight " : {{ . | quote }}
2727 {{- end }}
2828 {{- with $job.hookDeletePolicy }}
2929 " helm.sh/hook-delete-policy " : {{ . }} # hook-succeeded
Original file line number Diff line number Diff line change @@ -3,5 +3,9 @@ apiVersion: rbac.authorization.k8s.io/v1
33kind : Role
44metadata :
55 name : {{ include "generic.serviceAccountName" . }}
6+ labels : {{ include "generic.labels" . | nindent 4 }}
7+ {{- with .Values.serviceAccount.role.annotations }}
8+ annotations : {{ toYaml . | nindent 4 }}
9+ {{- end }}
610rules : {{ toYaml .Values.serviceAccount.role.rules | nindent 2 }}
711{{- end }}
Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ apiVersion: rbac.authorization.k8s.io/v1
44kind : RoleBinding
55metadata :
66 name : {{ $serviceAccountName }}
7+ labels : {{ include "generic.labels" . | nindent 4 }}
8+ {{- with .Values.serviceAccount.role.annotations }}
9+ annotations : {{ toYaml . | nindent 4 }}
10+ {{- end }}
711subjects :
812 - kind : ServiceAccount
913 name : {{ $serviceAccountName }}
Original file line number Diff line number Diff line change @@ -178,6 +178,7 @@ serviceAccount:
178178
179179 role :
180180 create : false
181+ # annotations: {}
181182 rules : []
182183
183184# annotations: {}
@@ -214,6 +215,11 @@ serviceAccount:
214215# targetCPUUtilizationPercentage: 80
215216# # targetMemoryUtilizationPercentage: 80
216217
218+ deployment : {}
219+ # nodeSelector:
220+ # tolerations:
221+ # affinity:
222+
217223# nodeSelector:
218224
219225# tolerations:
You can’t perform that action at this time.
0 commit comments