@@ -32,10 +32,10 @@ spec:
32
32
env :
33
33
- name : GROUP_NAME
34
34
value : {{ .Values.groupName | quote }}
35
- {{- if .Values.stackitSaAuthentication.enabled }}
35
+ {{- if .Values.stackitSaAuthentication.enabled }}
36
36
- name : STACKIT_SERVICE_ACCOUNT_KEY_PATH
37
37
value : " {{ .Values.stackitSaAuthentication.mountPath}}/{{ .Values.stackitSaAuthentication.fileName}}"
38
- {{- end }}
38
+ {{- end }}
39
39
ports :
40
40
- name : https
41
41
containerPort : 8443
@@ -50,49 +50,49 @@ spec:
50
50
scheme : HTTPS
51
51
path : /healthz
52
52
port : https
53
- {{- with .Values.securityContext }}
53
+ {{- with .Values.securityContext }}
54
54
securityContext :
55
55
{{ toYaml . | indent 12 }}
56
- {{- end }}
56
+ {{- end }}
57
57
volumeMounts :
58
58
- name : certs
59
59
mountPath : /tls
60
60
readOnly : true
61
- {{- if .Values.stackitSaAuthentication.enabled }}
61
+ {{- if .Values.stackitSaAuthentication.enabled }}
62
62
- name : stackit-sa-authentication
63
63
mountPath : {{ .Values.stackitSaAuthentication.mountPath }}
64
64
readOnly : true
65
- {{- end }}
66
- {{- if .Values.additionalVolumeMounts }}
67
- {{ toYaml .Values.additionalVolumeMounts | indent 10 }}
68
- {{- end }}
65
+ {{- end }}
66
+ {{- if .Values.additionalVolumeMounts }}
67
+ {{ toYaml .Values.additionalVolumeMounts | indent 12 }}
68
+ {{- end }}
69
69
resources :
70
70
{{ toYaml .Values.resources | indent 12 }}
71
71
volumes :
72
72
- name : certs
73
73
secret :
74
74
secretName : {{ include "stackit-cert-manager-webhook.servingCertificate" . }}
75
- {{- if .Values.stackitSaAuthentication.enabled }}
75
+ {{- if .Values.stackitSaAuthentication.enabled }}
76
76
- name : stackit-sa-authentication
77
77
secret :
78
78
secretName : {{ .Values.stackitSaAuthentication.secretName }}
79
- {{- end }}
80
- {{- if .Values.additionalVolumes }}
81
- {{ toYaml .Values.additionalVolumes | indent 8 }}
82
- {{- end }}
83
- {{- with .Values.podSecurityContext }}
79
+ {{- end }}
80
+ {{- if .Values.additionalVolumes }}
81
+ {{ toYaml .Values.additionalVolumes | indent 8 }}
82
+ {{- end }}
83
+ {{- with .Values.podSecurityContext }}
84
84
securityContext :
85
85
{{ toYaml . | indent 8 }}
86
- {{- end }}
87
- {{- with .Values.nodeSelector }}
86
+ {{- end }}
87
+ {{- with .Values.nodeSelector }}
88
88
nodeSelector :
89
89
{{ toYaml . | indent 8 }}
90
- {{- end }}
91
- {{- with .Values.affinity }}
90
+ {{- end }}
91
+ {{- with .Values.affinity }}
92
92
affinity :
93
93
{{ toYaml . | indent 8 }}
94
- {{- end }}
95
- {{- with .Values.tolerations }}
94
+ {{- end }}
95
+ {{- with .Values.tolerations }}
96
96
tolerations :
97
97
{{ toYaml . | indent 8 }}
98
- {{- end }}
98
+ {{- end }}
0 commit comments