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

CSO doesn't support helm hooks #244

Open
chess-knight opened this issue Aug 15, 2024 · 0 comments
Open

CSO doesn't support helm hooks #244

chess-knight opened this issue Aug 15, 2024 · 0 comments
Labels
Container Issues or pull requests relevant for Team 2: Container Infra and Tooling

Comments

@chess-knight
Copy link
Member

/kind bug

What steps did you take and what happened:
[A clear and concise description of what the bug is.]
I created a cluster addon with Calico CNI helm chart tigera-operator v3.28.1. This helm chart contains a pre-delete helm hook, which should run only during uninstallation. CSO does helm template so all the resources are created regardless of hook/nohook and Calico doesn't work.

What did you expect to happen:
Helm hooks are executed in the correct stages of the cluster lifecycle.

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
A related issue with a similar problem projectcalico/calico#9033.
My workaround is to use chart v3.26.4, where this hook doesn't exist.
IMO we again hit the helm template issue #153.

Environment:

  • cluster-stack-operator version:
  • Kubernetes version: (use kubectl version)
  • OS (e.g. from /etc/os-release):
@chess-knight chess-knight added the Container Issues or pull requests relevant for Team 2: Container Infra and Tooling label Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Container Issues or pull requests relevant for Team 2: Container Infra and Tooling
Projects
Status: Backlog
Development

No branches or pull requests

1 participant