Skip to content

Commit

Permalink
[v13] docs: update iam joining helm example (#38617)
Browse files Browse the repository at this point in the history
* docs: update iam joining helm example

* remove extra space
  • Loading branch information
stevenGravy authored Feb 26, 2024
1 parent 89dcc84 commit 38056f0
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -246,13 +246,15 @@ Switch `kubectl` to the Kubernetes cluster and run:
# Deploy a Kubernetes agent. It dials back to the Teleport cluster tele.example.com.
$ CLUSTER=iam-cluster
$ PROXY=tele.example.com:443
# Install the Teleport Kubernetes agent. Does not create a service account and uses the existing
# service account. See serviceAccount.create and serviceAccount.name parameters.
$ helm install teleport-agent teleport/teleport-kube-agent \
--set kubeClusterName=${CLUSTER?} \
--set proxyAddr=${PROXY?} \
--set joinParams.method=iam \
--set joinParams.tokenName=<Var name="kube-iam-token"/> \
--set serviceAccount.create=false # do not create a new service account # \
--set serviceAccount.name=<Var name="teleport-kube-agent-sa"/> # use the existing service account # \
--set serviceAccount.create=false \
--set serviceAccount.name=<Var name="teleport-kube-agent-sa"/> \
--create-namespace \
--namespace=<Var name="teleport-agent"/> \
--version (=teleport.version=)
Expand Down

0 comments on commit 38056f0

Please sign in to comment.