Add possibiliy to define statefulset labels All checks were successful continuous-integration/drone/pr Build is passing
All checks were successful
continuous-integration/drone/pr Build is passing
This commit is contained in:
@@ -9,6 +9,9 @@ spec: | ||||
selector: | ||||
matchLabels: | ||||
{{- include "gitea.selectorLabels" . | nindent 6 }} | ||||
{{- if .Values.statefulset.labels }} | ||||
{{- toYaml .Values.statefulset.labels | nindent 6 }} | ||||
{{- end }} | ||||
serviceName: {{ include "gitea.fullname" . }} | ||||
template: | ||||
metadata: | ||||
@@ -21,6 +24,9 @@ spec: | ||||
{{- end }} | ||||
labels: | ||||
{{- include "gitea.labels" . | nindent 8 }} | ||||
{{- if .Values.statefulset.labels }} | ||||
{{- toYaml .Values.statefulset.labels | nindent 8 }} | ||||
{{- end }} | ||||
spec: | ||||
{{- with .Values.imagePullSecrets }} | ||||
imagePullSecrets: | ||||
| ||||
@@ -69,6 +69,7 @@ statefulset: | ||||
# - name: VARIABLE | ||||
# value: my-value | ||||
terminationGracePeriodSeconds: 60 | ||||
labels: {} | ||||
| ||||
persistence: | ||||
enabled: true | ||||
| ||||
Reference in New Issue
Block a user