diff --git a/charts/etcd/templates/daemonset-anchor.yaml b/charts/etcd/templates/daemonset-anchor.yaml index 9be2b7f6..b6e12fec 100644 --- a/charts/etcd/templates/daemonset-anchor.yaml +++ b/charts/etcd/templates/daemonset-anchor.yaml @@ -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: diff --git a/charts/etcd/values.yaml b/charts/etcd/values.yaml index 9cdf2de9..b6e901a6 100644 --- a/charts/etcd/values.yaml +++ b/charts/etcd/values.yaml @@ -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/