Allow custom annotation to deployment (#7481)

This commit is contained in:
Anthony
2025-09-12 00:24:57 +02:00
committed by GitHub
parent b59a4f7366
commit 626145cf66
2 changed files with 6 additions and 0 deletions

View File

@ -7,6 +7,9 @@ metadata:
helm.sh/chart: {{ include "code-server.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- if .Values.annotations }}
annotations: {{- toYaml .Values.annotations | nindent 4 }}
{{- end }}
spec:
replicas: {{ .Values.replicaCount | default 1 }}
strategy:

View File

@ -31,6 +31,9 @@ serviceAccount:
# If not set and create is true, a name is generated using the fullname template
name: ""
# Specifies annotations for deployment
annotations: {}
podAnnotations: {}
podSecurityContext: {}