k8ssandra-operator
k8ssandra-operator copied to clipboard
K8SSAND-1770 ⁃ Webhooks are incorrectly deployed in data-plane kustomize
What happened? In k8ssandra-operator, we only deploy MedusaBackupSchedule webhook in the data-plane setting. However, in the kustomize templates, all the webhooks are deployed in data-plane setting.
This means that Kubernetes will try to call the webhook endpoint for k8ssandra.io resources also, but no one is going to answer as operator is not listening.
The data-plane should only deploy the MedusaBackupSchedule webhook in the kustomize templates.
Did you expect to see something different?
How to reproduce it (as minimally and precisely as possible):
Environment
-
K8ssandra Operator version:
* Kubernetes version information:Insert image tag or Git SHA here
* Kubernetes cluster kind:kubectl version
insert how you created your cluster: kops, bootkube, etc.
- Manifests:
insert manifests relevant to the issue
- K8ssandra Operator Logs:
insert K8ssandra Operator logs relevant to the issue here
Anything else we need to know?:
┆Issue is synchronized with this Jira Story by Unito