-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Failure to execute helm template
when using spec.source.helm.valuesObject
#14334
Comments
Nope, same result there. |
I actually revisited this Yesterday, I ran locally using updated master branch, Something very odd is going on, since I tried it multiple different ways, copying the entire app k8s object, I am suspecting something is going on with the annotations within the values, because that is a string value containing a JSON |
in my original message, I missed the ingress resource key:
note the |
I'll try to run thought both troubleshooting \ debugging methods and see if I can spot anything: So far, I've been using this: And couldn't reproduce it.. |
I was homing in on these lines:
by following the tests, even tough the test flow, doesn't invoke
|
Found the issue, Because we really needed the feature, I jumped the gun, and therefore, I've been Biting the bullet :/ |
@asaf400 did you still want to add details to this ticket and/or should this be closed? |
Because I was still using the released chart version, Now at the starting point of trying the valuesObject feature, I did update the CRDs ot the RC version, And since I only updated the deployed argo cd image itself to the RC, I ran 'incompatible' versions, Using Telepresence, with adjustments,
This proves that Argo CD currently as-it-stands doesn't verify the CRDs spec \ versions, |
@asaf400 yep, this is a downside of how we've chosen to version our CRDs (i.e. to not version them). Our policy is to add fields only, supporting old fields in a backwards-compatible way. But we do expect that users upgrade the CRDs in-place over the existing version. It's possible that we'll take more advantage of API versioning in the future. But for now, there are no plans to change. |
Thank you @blakepettersson for taking the time and trying the chart on your setup, and confirm it works.. 🙏 |
I have attempted to use the newly merged feature #11538,
I have an application that has used
spec.source.helm.values: |
as a string,Upon redeploying argocd using the latest rc image which includes the merged PR v2.8.0-rc1 (quay.io/argoproj/argocd:v2.8.0-rc1)
I have attempted to modify the application in-place using argocd ui, but changing
values: |
tovaluesObject
I have encountered an unexpected error:The chart I've used is my own helm for okd|openshift console deployment
Within the chart's app deployment template I use this templating rule to enforce a required value:
https://github.com/asaf400/openshift-console-chart/blob/main/charts/console/templates/deployment.yaml#L1
It works fine with
values
as a a string, but failed on that line when usingvaluesObject
I tried digging into this PR to see what would cause this, but I can't see where potentially the issue would be..
For completeness, this is a sample of the values (already into the .values key):
The text was updated successfully, but these errors were encountered: