mirror of
https://github.com/cdr/code-server.git
synced 2025-12-06 08:27:17 +01:00
Allow custom annotation to deployment (#7481)
This commit is contained in:
parent
b59a4f7366
commit
626145cf66
2 changed files with 6 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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: {}
|
||||
|
|
|
|||
Loading…
Reference in a new issue