I have a situation with two projects: (1) use Krane and (2) use Helm. Both projects are deploying PerconaPGCluster that has a required field called querySource in its CRD, and this field is an enum with a default value.
When I use Helm to deploy PerconaPGCluster without setting querySource, the deployment happens, and querySource is set with the default value. Using Krane, a validation error happens (error validating data: ValidationError(PerconaPGCluster.spec.pmm): missing required field "querySource") and the deployment doesn't happen.
Why is that behavior happening in Krane? It should accept a deployment without querySource like Helm, no?
I have a situation with two projects: (1) use
Kraneand (2) useHelm. Both projects are deployingPerconaPGClusterthat has a required field calledquerySourcein its CRD, and this field is an enum with a default value.When I use
Helmto deployPerconaPGClusterwithout settingquerySource, the deployment happens, andquerySourceis set with the default value. UsingKrane, a validation error happens (error validating data: ValidationError(PerconaPGCluster.spec.pmm): missing required field "querySource") and the deployment doesn't happen.Why is that behavior happening in
Krane? It should accept a deployment withoutquerySourcelikeHelm, no?