Skip to content

Commit

Permalink
fix: move imagePullSecrets to spec.template.spec (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bengreen authored and SergK committed Jul 17, 2024
1 parent 4882fc4 commit 5f5a0bb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions deploy-templates/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ spec:
serviceAccountName: edp-{{ .Values.name }}
securityContext:
runAsNonRoot: true
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: {{ .Values.name }}
# Replace this with the built image name
image: {{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}
imagePullPolicy: "{{ .Values.imagePullPolicy }}"
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 12 }}
{{- end }}
command:
- /manager
securityContext:
Expand Down

0 comments on commit 5f5a0bb

Please sign in to comment.