add deployment labels to deployment

This commit is contained in:
Dalton Russell
2024-04-29 12:49:25 -04:00
parent 4f4c71fb39
commit 9d4f8d063b

View File

@ -8,6 +8,9 @@ metadata:
{{- end }} {{- end }}
labels: labels:
{{- include "gitea.labels" . | nindent 4 }} {{- include "gitea.labels" . | nindent 4 }}
{{- if .Values.deployment.labels }}
{{- toYaml .Values.deployment.labels | nindent 4 }}
{{- end }}
spec: spec:
replicas: {{ .Values.replicaCount }} replicas: {{ .Values.replicaCount }}
strategy: strategy:
@ -397,4 +400,4 @@ spec:
{{- else if not .Values.persistence.enabled }} {{- else if not .Values.persistence.enabled }}
- name: data - name: data
emptyDir: {} emptyDir: {}
{{- end }} {{- end }}