Skip to content

Commit

Permalink
added missing nindent arg in imagePullSecrets
Browse files Browse the repository at this point in the history
  • Loading branch information
nemcikjan authored and johnike15 committed Dec 17, 2024
1 parent 0637999 commit a86b757
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions charts/kor/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ metadata:
{{- include "kor.labels" . | nindent 4 }}
app: {{ .Values.prometheusExporter.name }}
spec:
{{- with .Values.prometheusExporter.deployment.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 4 }}
{{- end }}
replicas: {{ .Values.prometheusExporter.deployment.replicaCount | default 1 }}
selector:
matchLabels:
Expand All @@ -20,7 +16,11 @@ spec:
labels:
{{- include "kor.labels" . | nindent 8 }}
app: {{ .Values.prometheusExporter.name }}
spec:
spec:
{{- with .Values.prometheusExporter.deployment.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "kor.serviceAccountName" . }}
containers:
- name: "{{ .Values.prometheusExporter.name }}-container"
Expand Down

0 comments on commit a86b757

Please sign in to comment.