Update deployment.yaml

This commit is contained in:
Markus Blaschke 2024-01-15 13:38:46 +01:00 committed by GitHub
parent 47dfed3ced
commit d44cc39096
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

View File

@ -148,6 +148,15 @@ spec:
{{- toYaml .Values.resources | nindent 12 }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
{{- if .Values.startupProbe }}
startupProbe: {{ .Values.startupProbe }}
{{- end }}
{{- if .Values.livenessProbe }}
livenessProbe: {{ .Values.livenessProbe }}
{{- end }}
{{- if .Values.readinessProbe }}
readinessProbe: {{ .Values.readinessProbe }}
{{- end }}
volumeMounts:
{{- if .Values.authSecret.enabled }}
- mountPath: "/etc/actions-runner-controller"
@ -180,6 +189,9 @@ spec:
{{- toYaml .Values.securityContext | nindent 12 }}
{{- end }}
terminationGracePeriodSeconds: 10
{{- if .Values.minReadySeconds }}
minReadySeconds: {{ .Values.minReadySeconds }}
{{- end }}
volumes:
{{- if .Values.authSecret.enabled }}
- name: secret