Skip to content

Commit

Permalink
#674 move imagePullSecrets in template (#675)
Browse files Browse the repository at this point in the history
* Update jenkins.yaml

fix #674

* Fix nindent to be 4
  • Loading branch information
maslakov authored Dec 7, 2021
1 parent 7e94bc6 commit e2f1945
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions chart/jenkins-operator/templates/jenkins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,6 @@ spec:
- name: jenkins-master
image: {{ .Values.jenkins.image }}
imagePullPolicy: {{ .Values.jenkins.imagePullPolicy }}
{{- with .Values.jenkins.imagePullSecrets }}
imagePullSecrets: {{ toYaml . | nindent 10 }}
{{- end }}
{{- with .Values.jenkins.livenessProbe }}
livenessProbe: {{ toYaml . | nindent 10 }}
{{- end }}
Expand Down Expand Up @@ -141,6 +138,9 @@ spec:
{{- with .Values.jenkins.volumes }}
volumes: {{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.jenkins.imagePullSecrets }}
imagePullSecrets: {{ toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.jenkins.securityContext}}
securityContext:
{{- toYaml . | nindent 6 }}
Expand Down

0 comments on commit e2f1945

Please sign in to comment.