Skip to content

Commit

Permalink
Deployment V1 Spec required the selector (kubernetes-sigs#326)
Browse files Browse the repository at this point in the history
  • Loading branch information
hchenxa authored and Emilio Garcia committed Jun 14, 2019
1 parent fc53160 commit e224dc3
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/manager/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ metadata:
controller-tools.k8s.io: "1.0"
spec:
replicas: 1
selector:
matchLabels:
control-plane: controller-manager
controller-tools.k8s.io: "1.0"
template:
metadata:
labels:
Expand Down
4 changes: 4 additions & 0 deletions overlays-config/coreos/manager/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ metadata:
control-plane: controller-manager
controller-tools.k8s.io: "1.0"
spec:
selector:
matchLabels:
control-plane: controller-manager
controller-tools.k8s.io: "1.0"
template:
spec:
volumes:
Expand Down
4 changes: 4 additions & 0 deletions overlays-config/generic/manager/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ metadata:
control-plane: controller-manager
controller-tools.k8s.io: "1.0"
spec:
selector:
matchLabels:
control-plane: controller-manager
controller-tools.k8s.io: "1.0"
template:
spec:
volumes:
Expand Down

0 comments on commit e224dc3

Please sign in to comment.