File tree Expand file tree Collapse file tree 3 files changed +19
-2
lines changed
fluxcd/templates/resources
openmcp/templates/resources Expand file tree Collapse file tree 3 files changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -37,5 +37,5 @@ patches:
3737 template:
3838 spec:
3939 imagePullSecrets:
40- {{ toYaml .Values.imagePullSecrets | indent 8 }}
40+ {{ toYaml .Values.imagePullSecrets | indent 14 }}
4141{{- end }}
Original file line number Diff line number Diff line change 1616 labels :
1717 app : openmcp-operator
1818 spec :
19- serviceAccount : openmcp-operator
19+ serviceAccountName : openmcp-operator
2020 initContainers :
2121 - name : openmcp-operator-init
2222 image : <openmcp/openmcp-operator>:latest
Original file line number Diff line number Diff line change @@ -5,3 +5,20 @@ resources:
55 - rbac.yaml
66 - namespace.yaml
77 - deployment.yaml
8+
9+ {{- if .Values.imagePullSecrets }}
10+ patches :
11+ - target :
12+ kind : Deployment
13+ patch : |
14+ apiVersion: apps/v1
15+ kind: Deployment
16+ metadata:
17+ name: this_value_is_ignored
18+ spec:
19+ template:
20+ spec:
21+ imagePullSecrets:
22+ {{ toYaml .Values.imagePullSecrets | indent 14 }}
23+ {{- end }}
24+
You can’t perform that action at this time.
0 commit comments