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

Change API key references to Auth Token #101

Merged
merged 1 commit into from
Nov 23, 2023
Merged
Show file tree
Hide file tree
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
11 changes: 6 additions & 5 deletions charts/localstack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,22 +42,23 @@ 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
image:
repository: localstack/localstack-pro

extraEnvVars:
- name: LOCALSTACK_API_KEY
value: "<your api key>"
- name: LOCALSTACK_AUTH_TOKEN
value: "<your auth token>"
```

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: <name of the secret>
Expand Down
4 changes: 2 additions & 2 deletions charts/localstack/test-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ mountDind:

# set the API key from an already existing secret
# extraEnvVars:
# - name: LOCALSTACK_API_KEY
# - name: LOCALSTACK_AUTH_TOKEN
# valueFrom:
# secretKeyRef:
# name: <name of the secret containing the API key>
# key: <name of the key in the secret containing the API key>

# or set the API key directly
# extraEnvVars:
# - name: LOCALSTACK_API_KEY
# - name: LOCALSTACK_AUTH_TOKEN
# value: "<your api key>"

# enable kubernetes lambda executor (only pro)
Expand Down