Skip to content

Commit

Permalink
add pod annotation, service account annotation changes
Browse files Browse the repository at this point in the history
  • Loading branch information
pgvishnuram authored and oxyno-zeta committed Dec 5, 2024
1 parent 58f0c62 commit a223d19
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions helm/postgresql-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ spec:
labels:
app.kubernetes.io/name: {{ include "postgresql-operator.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
annotations:
{{- toYaml .Values.podAnnotations | nindent 8 }}
spec:
serviceAccountName: {{ include "postgresql-operator.serviceAccountName" . }}
{{- with .Values.imagePullSecrets }}
Expand Down
3 changes: 2 additions & 1 deletion helm/postgresql-operator/templates/service_account.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ metadata:
name: {{ template "postgresql-operator.serviceAccountName" . }}
labels:
{{ include "postgresql-operator.labels" . | indent 4 }}

annotations:
{{- toYaml .Values.serviceAccount.annotations | nindent 4 }}
{{- end }}
3 changes: 3 additions & 0 deletions helm/postgresql-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ rbac:
## Service account name and whether to create it
serviceAccount:
create: true
annotations: {}
name:

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

affinity: {}

podAnnotations: {}

grafanaDashboards:
enabled: false
labels:
Expand Down

0 comments on commit a223d19

Please sign in to comment.