diff --git a/examples/chart/teleport-cluster/templates/proxy/deployment.yaml b/examples/chart/teleport-cluster/templates/proxy/deployment.yaml index 79bcd9c9f1371..1633bf895c64a 100644 --- a/examples/chart/teleport-cluster/templates/proxy/deployment.yaml +++ b/examples/chart/teleport-cluster/templates/proxy/deployment.yaml @@ -289,6 +289,7 @@ spec: sources: - serviceAccountToken: path: token + audience: {{ $proxy.clusterName }} - configMap: items: - key: ca.crt diff --git a/examples/chart/teleport-cluster/tests/__snapshot__/proxy_deployment_test.yaml.snap b/examples/chart/teleport-cluster/tests/__snapshot__/proxy_deployment_test.yaml.snap index 4e3f20a977377..1dfd7c1f82f7a 100644 --- a/examples/chart/teleport-cluster/tests/__snapshot__/proxy_deployment_test.yaml.snap +++ b/examples/chart/teleport-cluster/tests/__snapshot__/proxy_deployment_test.yaml.snap @@ -115,6 +115,7 @@ sets clusterDomain on Deployment Pods: sources: - serviceAccountToken: path: token + audience: helm-lint - configMap: items: - key: ca.crt @@ -275,6 +276,7 @@ should set nodeSelector when set in values: sources: - serviceAccountToken: path: token + audience: helm-lint - configMap: items: - key: ca.crt @@ -398,6 +400,7 @@ should set resources for wait-auth-update initContainer when set in values: sources: - serviceAccountToken: path: token + audience: helm-lint - configMap: items: - key: ca.crt @@ -506,6 +509,7 @@ should set resources when set in values: sources: - serviceAccountToken: path: token + audience: helm-lint - configMap: items: - key: ca.crt @@ -614,6 +618,7 @@ should set securityContext for initContainers when set in values: sources: - serviceAccountToken: path: token + audience: helm-lint - configMap: items: - key: ca.crt @@ -722,6 +727,7 @@ should set securityContext when set in values: sources: - serviceAccountToken: path: token + audience: helm-lint - configMap: items: - key: ca.crt diff --git a/examples/chart/teleport-cluster/tests/proxy_deployment_test.yaml b/examples/chart/teleport-cluster/tests/proxy_deployment_test.yaml index 8b10f191008ce..dd9d83220a06b 100644 --- a/examples/chart/teleport-cluster/tests/proxy_deployment_test.yaml +++ b/examples/chart/teleport-cluster/tests/proxy_deployment_test.yaml @@ -935,6 +935,7 @@ tests: sources: - serviceAccountToken: path: token + audience: helm-lint - configMap: items: - key: ca.crt @@ -971,6 +972,7 @@ tests: sources: - serviceAccountToken: path: token + audience: helm-lint - configMap: items: - key: ca.crt