cmd/k8s-operator: allow custom annotations on deployment (#17143)
Fixes #17188 Signed-off-by: Anthony SCHWARTZ <antho.schwartz@gmail.com> Signed-off-by: Anthony SCHWARTZ <anthony.schwartz@ext.ec.europa.eu>
This commit is contained in:
@@ -6,6 +6,9 @@ kind: Deployment
|
||||
metadata:
|
||||
name: operator
|
||||
namespace: {{ .Release.Namespace }}
|
||||
{{- if .Values.annotations }}
|
||||
annotations: {{- toYaml .Values.annotations | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
replicas: 1
|
||||
strategy:
|
||||
|
||||
@@ -62,6 +62,9 @@ operatorConfig:
|
||||
|
||||
resources: {}
|
||||
|
||||
# Specifies annotations for deployment
|
||||
annotations: {}
|
||||
|
||||
podAnnotations: {}
|
||||
podLabels: {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user