Skip to content

Commit

Permalink
adapt imagePullSecrets to values.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
thr authored and thr committed Nov 3, 2023
1 parent 0b10454 commit ef42736
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions microservicesruntime/helm/templates/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ spec:
{{- end }}
{{- range $imagePullSecrets }}
imagePullSecrets:
- name: {{ . }}
{{- toYaml . | nindent 12 }}
{{- end }}
schedule: {{ $job.schedule | quote }}
successfulJobsHistoryLimit: {{ $job.successfulJobsHistoryLimit }}
Expand Down Expand Up @@ -193,7 +193,7 @@ spec:
{{- end }}
{{- range $imagePullSecrets }}
imagePullSecrets:
- name: {{ . }}
{{- toYaml . | nindent 8 }}
{{- end }}

{{ end }}
Expand Down
2 changes: 1 addition & 1 deletion microservicesruntime/helm/templates/nginx-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ spec:
readOnly: false
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
- name: {{ . }}
{{- toYaml . | nindent 8 }}
{{- end }}

volumes:
Expand Down
2 changes: 1 addition & 1 deletion mywebmethodsserver/helm/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ spec:
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
- name: {{ . }}
{{- toYaml . | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "common.names.serviceAccountName" . }}
securityContext:
Expand Down
4 changes: 2 additions & 2 deletions universalmessaging/helm/templates/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ spec:
{{- end }}
{{- range $imagePullSecrets }}
imagePullSecrets:
- name: {{ . }}
{{- toYaml . | nindent 12 }}
{{- end }}
schedule: {{ $job.schedule | quote }}
successfulJobsHistoryLimit: {{ $job.successfulJobsHistoryLimit }}
Expand Down Expand Up @@ -196,7 +196,7 @@ spec:
{{- end }}
{{- range $imagePullSecrets }}
imagePullSecrets:
- name: {{ . }}
{{- toYaml . | nindent 8 }}
{{- end }}

{{ end }}
Expand Down
6 changes: 3 additions & 3 deletions universalmessaging/helm/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ spec:
labels:
{{- include "common.labels.matchLabels" . | nindent 8 }}
spec:
{{- range .Values.imagePullSecrets }}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
- name: {{ . }}
{{- end }}
{{- toYaml . | nindent 8 }}
{{- end }}
serviceAccountName: {{ .Values.serviceAccountName }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
Expand Down

0 comments on commit ef42736

Please sign in to comment.