Add Docker default AppArmor profile to rabbitmq
Change-Id: I177554ff5bd9c5b61f9c5ad3fea9e6519c3b94bf
This commit is contained in:
parent
d8c937f608
commit
47df9fa6b4
@ -33,6 +33,11 @@ spec:
|
||||
metadata:
|
||||
labels:
|
||||
{{ tuple $envAll "rabbitmq" "cluster-wait" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
|
||||
annotations:
|
||||
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" | indent 8 }}
|
||||
configmap-bin-hash: {{ tuple "configmap-bin.yaml" . | include "helm-toolkit.utils.hash" }}
|
||||
configmap-etc-hash: {{ tuple "configmap-etc.yaml" . | include "helm-toolkit.utils.hash" }}
|
||||
{{ dict "envAll" $envAll "podName" "rabbitmq-cluster-wait" "containerNames" (list "rabbitmq-cookie" "rabbitmq-rabbitmq-cluster-wait" ) | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 8 }}
|
||||
spec:
|
||||
{{ dict "envAll" $envAll "application" "cluster_wait" | include "helm-toolkit.snippets.kubernetes_pod_security_context" | indent 6 }}
|
||||
serviceAccountName: {{ $serviceAccountName }}
|
||||
|
@ -77,6 +77,7 @@ spec:
|
||||
configmap-etc-hash: {{ tuple "configmap-etc.yaml" . | include "helm-toolkit.utils.hash" }}
|
||||
secret-rabbit-admin-hash: {{ tuple "secret-rabbit-admin.yaml" . | include "helm-toolkit.utils.hash" }}
|
||||
secret-erlang-cookie-hash: {{ tuple "secret-erlang-cookie.yaml" . | include "helm-toolkit.utils.hash" }}
|
||||
{{ dict "envAll" $envAll "podName" "rabbitmq" "containerNames" (list "rabbitmq-password" "rabbitmq-cookie" "rabbitmq-perms" "rabbitmq") | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 8 }}
|
||||
spec:
|
||||
{{ dict "envAll" $envAll "application" "server" | include "helm-toolkit.snippets.kubernetes_pod_security_context" | indent 6 }}
|
||||
serviceAccountName: {{ $rcControllerName | quote }}
|
||||
|
11
rabbitmq/values_overrides/apparmor.yaml
Normal file
11
rabbitmq/values_overrides/apparmor.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
pod:
|
||||
mandatory_access_control:
|
||||
type: apparmor
|
||||
rabbitmq-cluster-wait:
|
||||
rabbitmq-cookie: runtime/default
|
||||
rabbitmq-rabbitmq-cluster-wait: runtime/default
|
||||
rabbitmq:
|
||||
rabbitmq-password: runtime/default
|
||||
rabbitmq-cookie: runtime/default
|
||||
rabbitmq-perms: runtime/default
|
||||
rabbitmq: runtime/default
|
Loading…
Reference in New Issue
Block a user