Skip to content

Commit

Permalink
Fixes v0.1.21.yml manifest to be compatible with apps/v1
Browse files Browse the repository at this point in the history
Deployment in apps/v1 requires a selector to be present in the deployment spec. Otherwise applying this manifest fails with:
```
error validating data: ValidationError(Deployment.spec): missing required field "selector" in io.k8s.api.apps.v1.DeploymentSpec
```
  • Loading branch information
excieve committed Nov 29, 2019
1 parent fb5c276 commit 378a905
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions releases/v0.1.21.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ metadata:
spec:
replicas: 1
revisionHistoryLimit: 2
selector:
matchLabels:
app: digitalocean-cloud-controller-manager
template:
metadata:
labels:
Expand Down

0 comments on commit 378a905

Please sign in to comment.