Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't specify ImagePullSecrets for clickhouse subchart #329

Closed
dledanseur opened this issue Mar 14, 2021 · 2 comments · Fixed by #332
Closed

Can't specify ImagePullSecrets for clickhouse subchart #329

dledanseur opened this issue Mar 14, 2021 · 2 comments · Fixed by #332

Comments

@dledanseur
Copy link

Problem:
When specifying a value for a subchart's imagePullSecrets, helm fails with the following error:

Error: unable to build kubernetes objects from release manifest: error validating "": error validating data: ValidationError(StatefulSet.spec.template.spec.imagePullSecrets[0].name): invalid type for io.k8s.api.core.v1.LocalObjectReference.name: got "array", expected "string"

Steps To reproduce:

helm repo add sentry https://sentry-kubernetes.github.io/charts
helm install sentry sentry/sentry --dry-run --set clickhouse.clickhouse.imagePullSecrets={docker-hub}

Same error using values files and without the --dry-run parameter.

Additional information:

By directly targetting the clickhouse chart, helm generates the manifests correctly:

helm install sentry sentry/clickhouse --dry-run --set clickhouse.imagePullSecrets={docker-hub}
@dledanseur
Copy link
Author

Seems already corrected by 573ca29, but the dependency in the sentry chart has not been updated yet. Any plan for that ?

@Mokto
Copy link
Contributor

Mokto commented Mar 16, 2021

I'll try to do it today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants