Replies: 1 comment
-
Sorry for the direct tag @alexmt @crenshaw-dev |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
K8s: 1.33
ArgoCD: 2.14.10
I am trying to work with the nvidia gpu-operator chart. We use ArgoCD's helm feature to apply the chart
The chart itself installs a CRD (
ClusterPolicy
) and a CR for itFirst installation goes all good
Then when upgrading, if new fields have been added to CR, the sync fails at diff stage
If I understand this correctly, the new CR in the chart is being validated against the old CRD in the cluster.
I don't care about this validation because the chart itself has a pre-upgrade hook to upgrade the CRD but this diff calculation blocks the PreSync phase from starting
https://github.com/NVIDIA/gpu-operator/blob/cf2e878ce13e43119840d7f48cb54659eb2395ad/deployments/gpu-operator/templates/upgrade_crd.yaml#L56
Here is what my inital spec looks like
And when trying to upgrade
One possible solution might be to use helm's
--disable-openapi-validation
#5366
#16144
But I believe the diff calculation happens before helm install stage is reached so it might not solve the problem
Beta Was this translation helpful? Give feedback.
All reactions