Add apparmor profile to etcd chart

Change-Id: Ic17db9b9e96e6c47b6d970a8dd63ea338a8b4f7e
This commit is contained in:
KHIYANI, RAHUL (rk0850) 2020-02-06 17:12:07 -06:00
parent 08039c2eda
commit f2869e68cf
2 changed files with 3 additions and 0 deletions

View File

@ -39,6 +39,7 @@ spec:
template:
metadata:
annotations:
{{ dict "envAll" $envAll "podName" "etcd-anchor" "containerNames" (list "etcdctl") | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 8 }}
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" | indent 8 }}
scheduler.alpha.kubernetes.io/critical-pod: ''
labels:

View File

@ -188,6 +188,8 @@ pod:
# requires override for a specific use case e.g. calico-etcd or kubernetes-etcd
example-etcd:
etcd: localhost/docker-default
etcd-anchor:
etcdctl: runtime/default
env:
etcd:
# can be used for tuning, e.g. https://etcd.io/docs/v3.4.0/tuning/