How to set Docker credentials from a K8s secret #453
|
It is unclear in the documentation, at least I didn't find it, how to set Docker or any other registry credentials from a K8s secret. |
Replies: 1 comment
|
In case anyone is interested in this. |
In case anyone is interested in this.
I created an ExternalSecret that contains docker.username and docker.password. This is read by the _pod_helpers method and added as ENV vars to the container. In the values.yaml file those two variables need to be set with dummy values to be templated by Helm.