From a9b55b3500edc6771793fb05f9aab853cf7e6565 Mon Sep 17 00:00:00 2001 From: lakkeger Date: Wed, 22 Nov 2023 15:11:25 +0100 Subject: [PATCH] Change API key references to Auth Token --- charts/localstack/README.md | 11 ++++++----- charts/localstack/test-values.yaml | 4 ++-- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/charts/localstack/README.md b/charts/localstack/README.md index c20d76a..e2dcbf6 100644 --- a/charts/localstack/README.md +++ b/charts/localstack/README.md @@ -42,7 +42,8 @@ The command removes all the Kubernetes components associated with the chart and You can use this chart with LocalStack Pro by: 1. Changing the image to `localstack/localstack-pro`. -2. Providing your API key as an environment variable. +2. Providing your Auth Token as an environment variable. +_(API keys are deprecated by Localstack v3.0)_ You can set these values in a YAML file (in this example `pro-values.yaml`): ```yaml @@ -50,14 +51,14 @@ image: repository: localstack/localstack-pro extraEnvVars: - - name: LOCALSTACK_API_KEY - value: "" + - name: LOCALSTACK_AUTH_TOKEN + value: "" ``` -If you have the LocalStack API key in a secret, you can also reference it directly with `extraEnvVars`: +If you have the LocalStack Auth Token in a secret, you can also reference it directly with `extraEnvVars`: ``` extraEnvVars: -- name: LOCALSTACK_API_KEY +- name: LOCALSTACK_AUTH_TOKEN valueFrom: secretKeyRef: name: diff --git a/charts/localstack/test-values.yaml b/charts/localstack/test-values.yaml index 581d29c..cc11f31 100644 --- a/charts/localstack/test-values.yaml +++ b/charts/localstack/test-values.yaml @@ -26,7 +26,7 @@ mountDind: # set the API key from an already existing secret # extraEnvVars: -# - name: LOCALSTACK_API_KEY +# - name: LOCALSTACK_AUTH_TOKEN # valueFrom: # secretKeyRef: # name: @@ -34,7 +34,7 @@ mountDind: # or set the API key directly # extraEnvVars: -# - name: LOCALSTACK_API_KEY +# - name: LOCALSTACK_AUTH_TOKEN # value: "" # enable kubernetes lambda executor (only pro)