From 3a32d048f805c8a77fd7c457a25b52203e507ee8 Mon Sep 17 00:00:00 2001 From: Steven Martin Date: Tue, 7 Jan 2025 15:50:00 -0500 Subject: [PATCH] [v17] docs: include version in rds helm install (#50813) * docs: include version in rds helm install * docs: update verbiage for rds helm install Co-authored-by: Gavin Frazar --------- Co-authored-by: Gavin Frazar --- .../enroll-aws-databases/rds.mdx | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/docs/pages/enroll-resources/database-access/enroll-aws-databases/rds.mdx b/docs/pages/enroll-resources/database-access/enroll-aws-databases/rds.mdx index a07c4b6e4c73d..5783d60c6570d 100644 --- a/docs/pages/enroll-resources/database-access/enroll-aws-databases/rds.mdx +++ b/docs/pages/enroll-resources/database-access/enroll-aws-databases/rds.mdx @@ -204,13 +204,15 @@ Token Type Labels Expiry Time (UTC) Create a Helm values file called `values.yaml`, assigning to the value of the join token you retrieved above, to the host **and port** of your Teleport -Proxy Service, and to the host **and port** of your RDS +Proxy Service, `enterprise` to false if you are using the community/OSS version, +and to the host **and port** of your RDS database (e.g., `myrds.us-east-1.rds.amazonaws.com:5432`): ```yaml authToken: proxyAddr: roles: db +enterprise: true databases: - name: example uri: "" @@ -222,11 +224,24 @@ annotations: eks.amazonaws.com/role-arn: arn:aws:iam:::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:///v1/webapi/automaticupgrades/channel/default/version | sed 's/v//')" +``` + +Otherwise, get the version of your Teleport cluster: + +```code +$ TELEPORT_VERSION="$(curl https:///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