Skip to content

Commit

Permalink
Deployment V1 Spec required the selector (openshift#326)
Browse files Browse the repository at this point in the history
  • Loading branch information
hchenxa authored and pierreprinetti committed Apr 22, 2024
1 parent fdeb090 commit f6d4276
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 f6d4276

Please sign in to comment.