Skip to content

Conversation

@HighWatersDev
Copy link

@HighWatersDev HighWatersDev commented Dec 23, 2025

This PR is meant to fix an issue with Gatekeeper denying the request due to host aliases being passed, even though it's an empty list.

E1007 1932.297598 1 statefulset-reconciler.go:364] doCreateStatefulSet():Host:0-0[0/0]:example/example-clickhouse:StatefulSet create failed. err: admission webhook "validation.gatekeeper.sh" denied the request: [podsecurity] Pods cannot specify host aliases

Thanks for taking the time to contribute to clickhouse-operator!

Please, read carefully instructions on how to make a Pull Request.

This will help a lot for maintainers to adopt your Pull Request.

Important items to consider before making a Pull Request

Please check items PR complies to:

  • All commits in the PR are squashed. More info
  • The PR is made into dedicated next-release branch, not into master branch1. More info
  • The PR is signed. More info

--

1 If you feel your PR does not affect any Go-code or any testable functionality (for example, PR contains docs only or supplementary materials), PR can be made into master branch, but it has to be confirmed by project's maintainer.

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.

1 participant