CSO doesn't support helm hooks
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- go, helm, kubernetes
- Domain
- devops, infrastructure
Research direction
Start with CSO's helm template handling and the related issue #153, then inspect how the Calico chart's templates/tigera-operator/00-uninstall.yaml hook is processed. Verify the lifecycle behavior with the tigera-operator v3.28.1 chart; done means pre-delete hooks are not treated as ordinary resources and Calico works without downgrading the chart.
Written by the indexing model from the issue text.
Description
/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 https://github.com/projectcalico/calico/issues/9033.
My workaround is to use chart v3.26.4, where this hook doesn't exist.
IMO we again hit the helm template issue https://github.com/SovereignCloudStack/cluster-stack-operator/issues/153.
Environment:
- cluster-stack-operator version:
- Kubernetes version: (use
kubectl version) - OS (e.g. from
/etc/os-release):
- Dominant language
- Go
- Stars
- 18
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from SovereignCloudStack/cluster-stack-operator
-
CI issues (1) Openbug Container
SovereignCloudStack/cluster-stack-operator#340 · 1 comment · 3 assignees ·
-
cso: crash .... Open
Difficulty 3/5 1-2 days Newbie friendliness 58/100
SovereignCloudStack/cluster-stack-operator#337 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 50/100
SovereignCloudStack/cluster-stack-operator#336 · 3 comments ·
-
bug
SovereignCloudStack/cluster-stack-operator#327 · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
SovereignCloudStack/cluster-stack-operator#272 · 32 comments ·
All issues in SovereignCloudStack/cluster-stack-operator
Similar issues
-
kind/bug needs-triage
Difficulty 1/5 Under an hour Newbie friendliness 72/100
matrixorigin/matrixone#29223 ·
-
needs-acceptance wg/data-plane-networking
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
vllm-project/semantic-router#4024 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
alexgorbatchev/dotfiles#107 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100