-
Notifications
You must be signed in to change notification settings - Fork 227
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
Helm upgrade fails to install clustertriggerauthentications crd #139
Comments
Have same issue |
Might be related to helm/helm#6581 & helm/helm#8668 |
As a mitigation, you can manually install the CRD (https://github.com/kedacore/charts/blob/master/keda/crds/clustertriggerauthentications.yaml). |
It looks like we'll need to find a way around this. |
This should be noted in upgrade notes as when installing through Helm this is technically a breaking change Workaround: |
I've opened #140 to fix this so that they are always added and I'll update the docs asap. Sorry for the inconvenience. I wish Helm was handling this better. |
Hi @tomkerkhove, Hope you're well. I can confirm the workaround works since I tested it before creating the ticket. However, in this specific case we're not actually talking about a CRD upgrade using Helm since the actual CRD is missing to begin with. So my exception would be that if the CRD is not installed and keda has a hard dependency on it, exactly the situation we're facing now , it should be installed. I would also argue that the user should have the possibility of forcing the upgrade of a CRD through Helm, using a specific switch (with full accountability of course on his end, knowing that the process is not supported and may potentially cause data lose). Anyway that's just my point of view. Let me know what you think. Thanks for all your help and support. |
Fully agree, but apparently Helm doesn't agree on that (see above). I'm working on a fix for this in #141 |
This is fixed and available: https://github.com/kedacore/charts/releases/tag/v2.2.1 Sorry about this. |
Install doc still references to this issue. But I assume this issue is fixed and workaround is not longer needed, right? |
Yes, docs only refer to v2.1 or below. v2.2 normally doesn't point here. |
2.2 still points to here |
Thanks for letting me know @maxisam! |
Report
Hi,
Not sure if this is the correct place for this however, here we go...
Helm upgrade from 2.0.0 to 2.2.0 fails to install (clustertriggerauthentications.keda.sh crd)
We're running keda v2.0.0 installed via helm 3 on v1.19.6 (AKS)
Since the crd is missing pod fails to start.
(no matches for kind "ClusterTriggerAuthentication" in version "keda.sh/v1alpha1)
Expected Behavior
Missing components are installed and images are upgraded to the version specified.
Actual Behavior
Images get upgraded to the version specified.
Missing components are not installed, in this case clustertriggerauthentications.keda.sh is not installed.
If I manually install the missing crd, everything works as expected.
Steps to Reproduce the Problem
Logs from KEDA operator
KEDA Version
2.2.0
Kubernetes Version
1.19
Platform
Microsoft Azure
Scaler Details
Azure Service Bus
The text was updated successfully, but these errors were encountered: