Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v17] docs: include version in rds helm install #50813

Merged
merged 3 commits into from
Jan 7, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -204,13 +204,15 @@ Token Type Labels Expiry Time (UTC)
Create a Helm values file called `values.yaml`, assigning <Var name="token" />
to the value of the join token you retrieved above, <Var
name="example.teleport.sh:443" /> to the host **and port** of your Teleport
Proxy Service, and <Var name="endpoint:port" /> to the host **and port** of your RDS
Proxy Service, `enterprise` to false if you are using the community/OSS version,
and <Var name="endpoint:port" /> to the host **and port** of your RDS
database (e.g., `myrds.us-east-1.rds.amazonaws.com:5432`):

```yaml
authToken: <Var name="token" />
proxyAddr: <Var name="example.teleport.sh:443" />
roles: db
enterprise: true
databases:
- name: example
uri: "<Var name="endpoint:port" />"
Expand All @@ -222,11 +224,24 @@ annotations:
eks.amazonaws.com/role-arn: arn:aws:iam::<Var name="aws-account" />:role/teleport-rds-role
```

Get the version of Teleport to install. If you have automatic agent updates enabled in your cluster, query the latest Teleport version that is compatible with the updater:

```code
$ TELEPORT_VERSION="$(curl https://<Var name="example.teleport.sh:443" />/v1/webapi/automaticupgrades/channel/default/version | sed 's/v//')"
```

Otherwise, get the version of your Teleport cluster:

```code
$ TELEPORT_VERSION="$(curl https://<Var name="example.teleport.sh:443" />/v1/webapi/ping | jq -r '.server_version')"
```


Install the Helm chart for Teleport agent services, `teleport-kube-agent`:

```code
$ helm -n teleport-agent install teleport-kube-agent teleport/teleport-kube-agent \
--values values.yaml --create-namespace
--values values.yaml --create-namespace --version $TELEPORT_VERSION
```

Make sure that the Teleport agent pod is running. You should see one
Expand Down
Loading