gluster-kubernetes icon indicating copy to clipboard operation
gluster-kubernetes copied to clipboard

missing required field "selector" in io.k8s.api.apps.v1.DeploymentSpec;

Open arkachat opened this issue 5 years ago • 2 comments

error validating "STDIN": error validating data: ValidationError(Deployment.spec): missing required field "selector" in io.k8s.api.apps.v1.DeploymentSpec; if you choose to ignore these errors, turn validation off with --validate=false

I tried to update from v1beta to apps/v1 But the deployment file fails.

arkachat avatar Oct 22 '19 19:10 arkachat

git apply this patch should solve fix_kub_template_api.patch

DANic-git avatar Nov 15 '19 11:11 DANic-git

Can confirm this fixes the issue.

deadstick6 avatar Jan 09 '20 12:01 deadstick6