-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Argo Workflows] CRDs are not deployed as part of the Helm Chart #1430
Comments
If folks agree with the solution, I can create a PR and update accordingly. |
They are installing for me currently. Also they are not in the |
I also had to install manually via kubectl command, didn't install it for me as well. |
@jmeridth Agreed, the solution should be to include |
@christophercutajar what version of helm are you using and how are you installing your release? The |
@stefansedich We're using Helm3 and we've mainly tried deploying the chart manually and using Terraform. Manually: Using the files mentioned in the description together with a
Terraform:
In both cases, we had to deploy the CRDs manually. |
I have completely uninstalled all argo-workflows CRDs and then reinstalled the helm chart. Locally and in remote clusters via argo-cd. CRDs install for me. Helm v3.4.9. I'll try your command next. Putting the crds folder in templates folder and wrapping in conditional causes the install to work for you? Have you built the chart locally and tested this? I don't doubt your experience but want to test this fully. |
@jmeridth as a collaborator, it's ok to question everything and everyone! All good mate, that's how the product get's better 😄 Also, I should have posted all my testing. The below are the outputs from my re-test done this morning for my PR. The only thing, I didn't test was deploying it using Terraform!
CRDs:
So, I'm running Helm v3.9.0 and this great discussion made me trying to re-install our production deployment in another k8s test cluster and re-produce last week scenario. This morning for both 0.16.5 and 0.17.1 charts, CRDs were installed! I'm not sure why this inconsistency is happening, when as highlighted also during this discussion, Helm 3 should deploy CRDs by default. Unfortunately, I didn't save any logs from last week. 😞 I remembered that around 2 months ago, during one of our upgrades, we had the same issue with CRDs not being installed and I had a discussion on slack about this too. Now I'm not sure if it's something related to Terraform or not (I'm going to spend some time and try to test it using Terraform). Going forward, I know this is a potential breaking change and I'm ok to not merge my PR so that Helm processes are followed and so close this ticket. We can always re-open this if it is noticed that folks are reporting the same behaviour. |
@christophercutajar thank you so much for your understanding. LOVE LOVE LOVE the contribution and conversation. Thank you for testing and showing the upgrade helps. We do need to discuss backwards compatibility with helm 3 that is < 3.9.4 (latest). There obviously seems to be an issue. I'm going to downgrade also and see what happens. You may be onto something. Again, thank you very much for your understanding and patience. |
@christophercutajar sorry for the delay. I'm going to test the downgrade today. Cheers. |
Fixes argoproj#1430 argoproj#1468 Due to multiple instances where new/changed CRDs for argo-workflows do not get installed/updated I believe it is time to move the crds folder into the templates folder like our other helm charts. I'm aware helm 3 is supposed to handle the crds folder but it seems there are a few known issues currently [here](hashicorp/terraform-provider-helm#944), [here](helm/helm#11321) and [here](helm/helm#11330) that show that may still need some work. Signed-off-by: jmeridth <jmeridth@gmail.com>
Fixes #1430 #1468 Due to multiple instances where new/changed CRDs for argo-workflows do not get installed/updated I believe it is time to move the crds folder into the templates folder like our other helm charts. I'm aware helm 3 is supposed to handle the crds folder but it seems there are a few known issues currently [here](hashicorp/terraform-provider-helm#944), [here](helm/helm#11321) and [here](helm/helm#11330) that show that may still need some work. Signed-off-by: jmeridth <jmeridth@gmail.com> Signed-off-by: jmeridth <jmeridth@gmail.com>
This might be fixed in https://github.com/hashicorp/terraform-provider-helm/releases/tag/v2.9.0 as specifically in hashicorp/terraform-provider-helm#1050 a new enhancement was added which added a new attribute |
Describe the bug
Argo Workflow CRDs located in https://github.com/argoproj/argo-helm/tree/main/charts/argo-workflows/crds aren't deployed automatically.
Related helm chart
argo-workflows
Helm chart version
0.17.1
To Reproduce
argo-workflows
in therequirements.yaml
Expected behavior
All CRDs should be installed
Screenshots
Additional context
https://github.com/argoproj/argo-helm/tree/main/charts/argo-workflows/crds folder should be moved into the https://github.com/argoproj/argo-helm/tree/main/charts/argo-workflows/templates folder
The text was updated successfully, but these errors were encountered: