You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: spec.bootstrap: Invalid value: "": Too many bootstrap types specified #8024
I have searched for an existing issue, and could not find anything. I believe this is a new bug.
I have read the troubleshooting guide
I have read the troubleshooting guide and I think this is a new bug.
I am running a supported version of CloudNativePG
I have read the troubleshooting guide and I think this is a new bug.
Contact Details
No response
Version
1.26 (latest patch)
What version of Kubernetes are you using?
1.33
What is your Kubernetes environment?
Self-managed: kind (evaluation)
How did you install the operator?
YAML manifest
What happened?
When specifying multiple bootstrap methods, the webhook correctly rejects the configuration. However, the error message it generates is unclear, as it references an empty value that is not meaningful.
spec.bootstrap: Invalid value: "": Too many bootstrap types specified
The error message should be revised to remove the reference to an invalid empty value and clearly state that only one bootstrap method can be specified.
Activity
mnencia commentedon Jul 14, 2025
New error message with #8025 PR:
test.yaml
fix(webhooks): clarify rejection of multiple bootstrap methods (#8025)
fix(webhooks): clarify rejection of multiple bootstrap methods (#8025)
fix(webhooks): clarify rejection of multiple bootstrap methods (#8025)
fix(webhooks): clarify rejection of multiple bootstrap methods (#8025)