From d3f15ffbf255805e7652866c6858195bd17c8111 Mon Sep 17 00:00:00 2001 From: stevenGravy Date: Mon, 6 Jan 2025 05:38:05 -0500 Subject: [PATCH] docs: include version in rds helm install --- .../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..4629c10bda007 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, false to `enterprise` 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