purestorage/helm-charts

[Feature Request] Reference API token from a kubernetes secret object

Opened this issue · 3 comments

yuha0 commented

Currently, the API token is specified as a string literal in PSOPlugin object in purestorage.com/v1.

Since we check in all cluster objects in a git repository, this would mean that we have to expose the token to everyone who has read permission to the repository. This is not very secure.

Kubernetes secret is designed for managing sensitive information, and there are many options to allow us to safely version control secrets in git in encrypted form.

Can we allow the token to be referenced as a, for example, v1.SecretKeySelector?

@caryli-ps can we look into this?

TJM commented

This just came up for us as well, we noticed that there was no way to get the API Token from a secret... It would require some restructuring, probably :(

@TJM I believe we now hold these API tokens in a secret but are not held in a secret that can be accessed by the Helm chart. This is still an open RFE