Baoyuantop commented on issue #988:
URL:
https://github.com/apache/apisix-helm-chart/issues/988#issuecomment-6099036192
APISIX Chart 2.18.0 (APISIX 3.19.0 by default) can use an existing
Kubernetes Secret for the Vault token without storing the token value in values
or the ConfigMap:
```
apisix:
vault:
enabled: true
token: "${{VAULT_TOKEN}}"
extraEnvVars:
- name: VAULT_TOKEN
valueFrom:
secretKeyRef:
name: vault-token
key: token
```
Keep your Vault host, timeout, and prefix settings. Here vault-token is the
existing Secret name and token is its key. The chart injects the Secret
reference into the container, and APISIX expands the environment variable when
loading configuration; the ConfigMap contains only the placeholder.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]