Bug description
The helm chart linter objects to the use of a kubernetes secret instead of a literal string as the value for an ImagePullSecret.password, like so:
imagePullSecret:
create: true
registry: ghcr.io
username: cboettig
password:
valueFrom:
secretKeyRef:
name: jupyter-secrets
key: GH_REGISTRY_PULL
Error: values don't meet the specifications of the schema(s) in the following chart(s):
jupyterhub:
- at '/imagePullSecret/password': got object, want string
Other places where one would also want to use a kubernetes secret, such as hub.config.GitHubOAuthenticator fields do not trigger the linter, but for some reason still ultimately fail -- we just get the same error message about unexpected object deeper in the k8s logs when the hub doesn't start.
I think it would be reasonable to support kubernetes secrets for any of the secrets commonly used in the config.
See zulip discussion
Bug description
The helm chart linter objects to the use of a kubernetes secret instead of a literal string as the value for an
ImagePullSecret.password, like so:Error: values don't meet the specifications of the schema(s) in the following chart(s):
jupyterhub:
Other places where one would also want to use a kubernetes secret, such as
hub.config.GitHubOAuthenticatorfields do not trigger the linter, but for some reason still ultimately fail -- we just get the same error message about unexpected object deeper in the k8s logs when the hub doesn't start.I think it would be reasonable to support kubernetes secrets for any of the secrets commonly used in the config.
See zulip discussion