[FIX] Fix Apparmor for postgresql-openstack-create-user
Change-Id: I4ae738636bff152a57bf292786d3855384e3529b
This commit is contained in:
parent
e54f5f778f
commit
8caf00b12c
@ -29,6 +29,9 @@ spec:
|
||||
metadata:
|
||||
labels:
|
||||
{{ tuple $envAll "prometheus_postgresql_exporter" "create_user" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
|
||||
annotations:
|
||||
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" | indent 8 }}
|
||||
{{ dict "envAll" $envAll "podName" "prometheus-postgresql-exporter-create-user" "containerNames" (list "prometheus-postgresql-exporter-create-user") | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 8 }}
|
||||
spec:
|
||||
serviceAccountName: {{ $serviceAccountName }}
|
||||
restartPolicy: OnFailure
|
||||
|
@ -6,3 +6,5 @@ pod:
|
||||
set-volume-perms: runtime/default
|
||||
prometheus-postgresql-exporter:
|
||||
postgresql-exporter: runtime/default
|
||||
prometheus-postgresql-exporter-create-user:
|
||||
prometheus-postgresql-exporter-create-user: runtime/default
|
||||
|
Loading…
Reference in New Issue
Block a user