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

fix init db to actually provision with a secret #286

Closed
wants to merge 1 commit into from

Conversation

8ball030
Copy link

helm.go:84: [debug] admission webhook "mcluster.cnpg.io" denied the request: json: cannot unmarshal string into Go struct field BootstrapInitDB.spec.bootstrap.initdb.secret of type v1.LocalObjectReference

The defazult values fail to provision,

In order to get the secret to work, you have to add the name key,.

@8ball030 8ball030 requested a review from itay-grudev as a code owner May 21, 2024 06:28
@8ball030
Copy link
Author

I believe theere additional issues in in that when you try to use this configuration option, the new database is not correctly configured to use the secret specified.

Any guidance on this would be appreciated and i can update the pr to provide more clarity to others.

@itay-grudev
Copy link
Collaborator

itay-grudev commented May 24, 2024

Can you share the values you are experiencing an issue with?

@itay-grudev
Copy link
Collaborator

Closing in favor of: #239

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 this pull request may close these issues.

2 participants