feat!: set proper namespaces and allow override

This commit is contained in:
Michael Kriese 2024-09-11 10:52:08 +02:00
parent 270a25b695
commit f77285a8c6
No known key found for this signature in database
GPG key ID: F8D7748549A5986A
15 changed files with 48 additions and 22 deletions

View file

@ -7,6 +7,7 @@ apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
name: {{ include "gitea.fullname" . }}
namespace: {{ include "common.names.namespace" . | quote }}
labels:
{{- include "gitea.labels" . | nindent 4 }}
spec:
@ -14,4 +15,4 @@ spec:
matchLabels:
{{- include "gitea.selectorLabels" . | nindent 6 }}
{{- toYaml .Values.podDisruptionBudget | nindent 2 }}
{{- end -}}
{{- end -}}