-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
Description
Our current API looks like this:
apiVersion: v1
charts:
- opsgoodness/prometheus-operator:
repo: http://charts.opsgoodness.comWe should also support SSL-based authentication, potentially with an API like this:
apiVersion: v1
charts:
- opsgoodness/prometheus-operator:
repo:
url: https://charts.opsgoodness.com
caFile: /path/to/ca
certFile: /path/to/cert
keyFile: /path/to/keyHowever, given that we support templating within charts.yml, we could also consider to not point to files, but instead embed the data as base64-encoded strings, as this makes it easier to inject the values in an automated/CI-environment using environment variables:
apiVersion: v1
charts:
- opsgoodness/prometheus-operator:
repo:
url: https://charts.opsgoodness.com
ca: {{ env "MY_CA_CONTENT" | b64enc }}
cert: {{ env "MY_CERT_CONTENT" | b64enc }}
key: {{ env "MY_KEY_CONTENT" | b64enc }}Or support both formats, if that makes sense.
nikolay