add deployment labels to deployment

This commit is contained in:
Dalton Russell 2024-04-29 12:49:25 -04:00
parent 4f4c71fb39
commit 9d4f8d063b
No known key found for this signature in database
GPG Key ID: C86DEB9BD0AE8CEF
1 changed files with 4 additions and 1 deletions

View File

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