helm-charts
helm-charts copied to clipboard
Handle Secret containing a docker config file
This is related with https://github.com/kubewarden/kubewarden-controller/issues/42
We need to offer the following scenarios via our helm chart:
- User has already a Kubernetes Secret that contains the docker configuration file that allows pull operations. The user just enters the name of the Secret into
values.yml
-> The helm chart writes the name of the Secret inside of thepolicy-server
ConfigMap - The user provides the contents of the docker configuration file via the
values.yml
file -> the helm chart creates a Secret and then adds a reference to it inside of thepolicy-server
ConfigMap - When none of the previous scenarios happen, no Secret is referenced inside of the ConfigMap. This is the current behavior