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

@ -2,6 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "gitea.fullname" . }}
namespace: {{ include "common.names.namespace" . | quote }}
annotations:
{{- if .Values.deployment.annotations }}
{{- toYaml .Values.deployment.annotations | nindent 4 }}
@ -402,4 +403,4 @@ spec:
{{- else if not .Values.persistence.enabled }}
- name: data
emptyDir: {}
{{- end }}
{{- end }}