Skip to content
This repository has been archived by the owner on Jul 7, 2020. It is now read-only.

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

Open
arkachat opened this issue Oct 22, 2019 · 2 comments
Open

Comments

@arkachat
Copy link

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.

@DANic-git
Copy link

git apply this patch should solve
fix_kub_template_api.patch

@deadstick6
Copy link

Can confirm this fixes the issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants