Skip to content

Commit fb6c560

Browse files
committed
fix chart indent
1 parent a959a3c commit fb6c560

File tree

2 files changed

+23
-23
lines changed

2 files changed

+23
-23
lines changed

deploy/stackit/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ apiVersion: v1
22
appVersion: "1.0"
33
description: A Helm chart for Kubernetes
44
name: stackit-cert-manager-webhook
5-
version: 0.3.1
5+
version: 0.3.2

deploy/stackit/templates/deployment.yaml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ spec:
3232
env:
3333
- name: GROUP_NAME
3434
value: {{ .Values.groupName | quote }}
35-
{{- if .Values.stackitSaAuthentication.enabled }}
35+
{{- if .Values.stackitSaAuthentication.enabled }}
3636
- name: STACKIT_SERVICE_ACCOUNT_KEY_PATH
3737
value: "{{ .Values.stackitSaAuthentication.mountPath}}/{{ .Values.stackitSaAuthentication.fileName}}"
38-
{{- end }}
38+
{{- end }}
3939
ports:
4040
- name: https
4141
containerPort: 8443
@@ -50,49 +50,49 @@ spec:
5050
scheme: HTTPS
5151
path: /healthz
5252
port: https
53-
{{- with .Values.securityContext }}
53+
{{- with .Values.securityContext }}
5454
securityContext:
5555
{{ toYaml . | indent 12 }}
56-
{{- end }}
56+
{{- end }}
5757
volumeMounts:
5858
- name: certs
5959
mountPath: /tls
6060
readOnly: true
61-
{{- if .Values.stackitSaAuthentication.enabled }}
61+
{{- if .Values.stackitSaAuthentication.enabled }}
6262
- name: stackit-sa-authentication
6363
mountPath: {{ .Values.stackitSaAuthentication.mountPath }}
6464
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 }}
6969
resources:
7070
{{ toYaml .Values.resources | indent 12 }}
7171
volumes:
7272
- name: certs
7373
secret:
7474
secretName: {{ include "stackit-cert-manager-webhook.servingCertificate" . }}
75-
{{- if .Values.stackitSaAuthentication.enabled }}
75+
{{- if .Values.stackitSaAuthentication.enabled }}
7676
- name: stackit-sa-authentication
7777
secret:
7878
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 }}
8484
securityContext:
8585
{{ toYaml . | indent 8 }}
86-
{{- end }}
87-
{{- with .Values.nodeSelector }}
86+
{{- end }}
87+
{{- with .Values.nodeSelector }}
8888
nodeSelector:
8989
{{ toYaml . | indent 8 }}
90-
{{- end }}
91-
{{- with .Values.affinity }}
90+
{{- end }}
91+
{{- with .Values.affinity }}
9292
affinity:
9393
{{ toYaml . | indent 8 }}
94-
{{- end }}
95-
{{- with .Values.tolerations }}
94+
{{- end }}
95+
{{- with .Values.tolerations }}
9696
tolerations:
9797
{{ toYaml . | indent 8 }}
98-
{{- end }}
98+
{{- end }}

0 commit comments

Comments
 (0)