Skip to content

Commit

Permalink
fix chart indent
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickKoss committed Dec 2, 2024
1 parent a959a3c commit fb6c560
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion deploy/stackit/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v1
appVersion: "1.0"
description: A Helm chart for Kubernetes
name: stackit-cert-manager-webhook
version: 0.3.1
version: 0.3.2
44 changes: 22 additions & 22 deletions deploy/stackit/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ spec:
env:
- name: GROUP_NAME
value: {{ .Values.groupName | quote }}
{{- if .Values.stackitSaAuthentication.enabled }}
{{- if .Values.stackitSaAuthentication.enabled }}
- name: STACKIT_SERVICE_ACCOUNT_KEY_PATH
value: "{{ .Values.stackitSaAuthentication.mountPath}}/{{ .Values.stackitSaAuthentication.fileName}}"
{{- end }}
{{- end }}
ports:
- name: https
containerPort: 8443
Expand All @@ -50,49 +50,49 @@ spec:
scheme: HTTPS
path: /healthz
port: https
{{- with .Values.securityContext }}
{{- with .Values.securityContext }}
securityContext:
{{ toYaml . | indent 12 }}
{{- end }}
{{- end }}
volumeMounts:
- name: certs
mountPath: /tls
readOnly: true
{{- if .Values.stackitSaAuthentication.enabled }}
{{- if .Values.stackitSaAuthentication.enabled }}
- name: stackit-sa-authentication
mountPath: {{ .Values.stackitSaAuthentication.mountPath }}
readOnly: true
{{- end }}
{{- if .Values.additionalVolumeMounts }}
{{ toYaml .Values.additionalVolumeMounts | indent 10 }}
{{- end }}
{{- end }}
{{- if .Values.additionalVolumeMounts }}
{{ toYaml .Values.additionalVolumeMounts | indent 12 }}
{{- end }}
resources:
{{ toYaml .Values.resources | indent 12 }}
volumes:
- name: certs
secret:
secretName: {{ include "stackit-cert-manager-webhook.servingCertificate" . }}
{{- if .Values.stackitSaAuthentication.enabled }}
{{- if .Values.stackitSaAuthentication.enabled }}
- name: stackit-sa-authentication
secret:
secretName: {{ .Values.stackitSaAuthentication.secretName }}
{{- end }}
{{- if .Values.additionalVolumes }}
{{ toYaml .Values.additionalVolumes | indent 8 }}
{{- end }}
{{- with .Values.podSecurityContext }}
{{- end }}
{{- if .Values.additionalVolumes }}
{{ toYaml .Values.additionalVolumes | indent 8 }}
{{- end }}
{{- with .Values.podSecurityContext }}
securityContext:
{{ toYaml . | indent 8 }}
{{- end }}
{{- with .Values.nodeSelector }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{ toYaml . | indent 8 }}
{{- end }}
{{- with .Values.affinity }}
{{- end }}
{{- with .Values.affinity }}
affinity:
{{ toYaml . | indent 8 }}
{{- end }}
{{- with .Values.tolerations }}
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{ toYaml . | indent 8 }}
{{- end }}
{{- end }}

0 comments on commit fb6c560

Please sign in to comment.