You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I do a dry run I get no errors, but when I do an actual deploy I get this error: Error: UPGRADE FAILED: cannot patch "myApp" with kind Application: Application.app.k8s.io "myApp" is invalid: spec.info.value: Invalid value: "integer": spec.info.value in body must be of type string: "integer"
The error is because a field in a k8s resource is invalid (I'm using the Application CRD). Fixing this was easy (just changed an int to string in my manifest), but this is something I would expect dry run to catch.
Is this helm specific or just how the dry-run method of the k8s API works? I'm running the same helm upgrade command just with and without the --dry-run switch. Shouldn't it be doing this level of validation on dry run?
The text was updated successfully, but these errors were encountered:
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.
Output of helm version: "v3.8.0"
Output of
kubectl version
:Cloud Provider/Platform (AKS, GKE, Minikube etc.): GKE
When I do a dry run I get no errors, but when I do an actual deploy I get this error:
Error: UPGRADE FAILED: cannot patch "myApp" with kind Application: Application.app.k8s.io "myApp" is invalid: spec.info.value: Invalid value: "integer": spec.info.value in body must be of type string: "integer"
The error is because a field in a k8s resource is invalid (I'm using the Application CRD). Fixing this was easy (just changed an int to string in my manifest), but this is something I would expect dry run to catch.
Is this helm specific or just how the dry-run method of the k8s API works? I'm running the same
helm upgrade
command just with and without the--dry-run
switch. Shouldn't it be doing this level of validation on dry run?The text was updated successfully, but these errors were encountered: