Skip to content

Commit

Permalink
fix(jobs): replace configmap and secret ref with a default value
Browse files Browse the repository at this point in the history
  • Loading branch information
thamudi committed Oct 6, 2024
1 parent 076b643 commit 7d1c052
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions templates/job-create-gpg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ spec:
{{- end }}
envFrom:
- configMapRef:
name: {{ $Name }}-cm-env
name: {{ default (printf "%s-cm-env" $Name) .Values.passboltEnv.configMapName }}
- secretRef:
name: {{ $Name }}-sec-env
name: {{ default (printf "%s-sec-env" $Name) .Values.passboltEnv.secretName }}
{{- with .Values.passboltEnv.extraEnvFrom }}
{{- toYaml . | nindent 12 }}
{{- end }}
Expand Down
4 changes: 2 additions & 2 deletions templates/job-create-jwt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ spec:
{{- end }}
envFrom:
- configMapRef:
name: {{ $Name }}-cm-env
name: {{ default (printf "%s-cm-env" $Name) .Values.passboltEnv.configMapName }}
- secretRef:
name: {{ $Name }}-sec-env
name: {{ default (printf "%s-sec-env" $Name) .Values.passboltEnv.secretName }}
{{- with .Values.passboltEnv.extraEnvFrom }}
{{- toYaml . | nindent 12 }}
{{- end }}
Expand Down

0 comments on commit 7d1c052

Please sign in to comment.