Skip to content

Commit a223d19

Browse files
pgvishnuramoxyno-zeta
authored andcommitted
add pod annotation, service account annotation changes
1 parent 58f0c62 commit a223d19

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

helm/postgresql-operator/templates/deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ spec:
1515
labels:
1616
app.kubernetes.io/name: {{ include "postgresql-operator.name" . }}
1717
app.kubernetes.io/instance: {{ .Release.Name }}
18+
annotations:
19+
{{- toYaml .Values.podAnnotations | nindent 8 }}
1820
spec:
1921
serviceAccountName: {{ include "postgresql-operator.serviceAccountName" . }}
2022
{{- with .Values.imagePullSecrets }}

helm/postgresql-operator/templates/service_account.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ metadata:
55
name: {{ template "postgresql-operator.serviceAccountName" . }}
66
labels:
77
{{ include "postgresql-operator.labels" . | indent 4 }}
8-
8+
annotations:
9+
{{- toYaml .Values.serviceAccount.annotations | nindent 4 }}
910
{{- end }}

helm/postgresql-operator/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ rbac:
99
## Service account name and whether to create it
1010
serviceAccount:
1111
create: true
12+
annotations: {}
1213
name:
1314

1415
## Let it empty to watch all namespaces
@@ -77,6 +78,8 @@ tolerations: []
7778

7879
affinity: {}
7980

81+
podAnnotations: {}
82+
8083
grafanaDashboards:
8184
enabled: false
8285
labels:

0 commit comments

Comments
 (0)