@@ -21,54 +21,22 @@ spec:
2121 args :
2222 - init
2323 - --environment=default
24- {{- if .Values.onboardingClusterKubeconfigSecretName }}
25- - --onboarding-cluster=/etc/secret/onboarding-cluster-kubeconfig/kubeconfig
26- {{- end }}
27- {{- if .Values.platformClusterKubeconfigSecretName }}
28- - --platform-cluster=/etc/secret/platform-cluster-kubeconfig/kubeconfig
29- {{- end }}
3024 - --config=/etc/secret/openmcp-operator-config/config
3125 volumeMounts :
3226 - mountPath : /etc/secret/openmcp-operator-config
3327 name : openmcp-operator-config
3428 readOnly : true
35- {{- if .Values.onboardingClusterKubeconfigSecretName }}
36- - mountPath : /etc/secret/onboarding-cluster-kubeconfig
37- name : onboarding-cluster-kubeconfig
38- readOnly : true
39- {{- end }}
40- {{- if .Values.platformClusterKubeconfigSecretName }}
41- - mountPath : /etc/secret/platform-cluster-kubeconfig
42- name : platform-cluster-kubeconfig
43- readOnly : true
44- {{- end }}
4529 containers :
4630 - name : openmcp-operator
4731 image : <openmcp/openmcp-operator>:latest
4832 args :
4933 - run
5034 - --environment=default
51- {{- if .Values.onboardingClusterKubeconfigSecretName }}
52- - --onboarding-cluster=/etc/secret/onboarding-cluster-kubeconfig/kubeconfig
53- {{- end }}
54- {{- if .Values.platformClusterKubeconfigSecretName }}
55- - --platform-cluster=/etc/secret/platform-cluster-kubeconfig/kubeconfig
56- {{- end }}
5735 - --config=/etc/secret/openmcp-operator-config/config
5836 volumeMounts :
5937 - mountPath : /etc/secret/openmcp-operator-config
6038 name : openmcp-operator-config
6139 readOnly : true
62- {{- if .Values.onboardingClusterKubeconfigSecretName }}
63- - mountPath : /etc/secret/onboarding-cluster-kubeconfig
64- name : onboarding-cluster-kubeconfig
65- readOnly : true
66- {{- end }}
67- {{- if .Values.platformClusterKubeconfigSecretName }}
68- - mountPath : /etc/secret/platform-cluster-kubeconfig
69- name : platform-cluster-kubeconfig
70- readOnly : true
71- {{- end }}
7240 resources :
7341 requests :
7442 cpu : 100m
8149 secret :
8250 defaultMode : 420
8351 secretName : openmcp-operator-config
84- {{- if .Values.onboardingClusterKubeconfigSecretName }}
85- - name : onboarding-cluster-kubeconfig
86- secret :
87- defaultMode : 420
88- secretName : {{.Values.onboardingClusterKubeconfigSecretName}}
89- {{- end }}
90- {{- if .Values.platformClusterKubeconfigSecretName }}
91- - name : platform-cluster-kubeconfig
92- secret :
93- defaultMode : 420
94- secretName : {{.Values.platformClusterKubeconfigSecretName}}
95- {{- end }}
0 commit comments