Skip to content

Comments

Refactor stsSetupHostAliases for conditional host aliases#1895

Open
HighWatersDev wants to merge 1 commit intoAltinity:0.26.0from
HighWatersDev:fix-host-aliases
Open

Refactor stsSetupHostAliases for conditional host aliases#1895
HighWatersDev wants to merge 1 commit intoAltinity:0.26.0from
HighWatersDev:fix-host-aliases

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.

@sunsingerus sunsingerus added the waiting reply Altinity is waiting for a reply label Jan 13, 2026
@HighWatersDev
Copy link
Author

@sunsingerus anything I can help clarify with this PR? I see waiting reply label

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

waiting reply Altinity is waiting for a reply

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants