diff --git a/examples/chart/teleport-cluster/templates/deployment.yaml b/examples/chart/teleport-cluster/templates/deployment.yaml index 9e31ca1b72b9b..1bcebeffd3e52 100644 --- a/examples/chart/teleport-cluster/templates/deployment.yaml +++ b/examples/chart/teleport-cluster/templates/deployment.yaml @@ -15,6 +15,9 @@ spec: annotations: # ConfigMap checksum, to recreate the pod on config changes. checksum/config: {{ include (print $.Template.BasePath "/config.yaml") . | sha256sum }} +{{- if .Values.annotations }} +{{ toYaml .Values.annotations | indent 8 }} +{{- end }} labels: app: {{ .Release.Name }} spec: diff --git a/examples/chart/teleport-cluster/values.yaml b/examples/chart/teleport-cluster/values.yaml index 2e70ba957c4d6..0e6952eb7c115 100644 --- a/examples/chart/teleport-cluster/values.yaml +++ b/examples/chart/teleport-cluster/values.yaml @@ -36,6 +36,12 @@ customConfig: false # Labels is a map of key-value pairs about this cluster labels: {} +# Pod annotations +annotations: {} +## See https://github.com/uswitch/kiam#overview +## To enable AWS API access from teleport, use kube2iam or kiam, annotate the namespace, and then set something like: +# iam.amazonaws.com/role: teleport-dynamodb-and-s3-access + ################################################## # Values that you shouldn't need to change. ##################################################