-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
…okup logic; modify imagePullSecret handling in templates On-behalf-of: @SAP angel.kafazov@sap.com Signed-off-by: Angel Kafazov <akafazov@cst-bg.net>
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
{{- define "common.imagePullSecret" }} | ||
{{- if or .Values.imagePullSecret ((.Values).global).imagePullSecret }} | ||
imagePullSecrets: | ||
- name: {{ default .Values.imagePullSecret (.Values.global).imagePullSecret }} | ||
{{- end }} | ||
- name: {{ include "common.certManagerEnabled" (dict "Values" .Values "key" "imagePullSecret") }} | ||
{{- end -}} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +0,0 @@ | ||
defaults: | ||
certManager: | ||
enabled: false | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
defaults: | ||
certManager: | ||
enabled: false | ||
imagePullSecret: "github" | ||
Check failure on line 4 in charts/common/values.yaml
|