Skip to content

Commit

Permalink
set unique label on Control Manager
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Shitrit <mshitrit@redhat.com>
  • Loading branch information
mshitrit committed Jul 11, 2023
1 parent 8bae0fe commit 4c4d2c0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -319,14 +319,15 @@ spec:
serviceAccountName: self-node-remediation-controller-manager
deployments:
- label:
control-plane: controller-manager
app.kubernetes.io/component: controller-manager
app.kubernetes.io/name: self-node-remediation-operator
self-node-remediation-operator: ""
name: self-node-remediation-controller-manager
spec:
replicas: 1
selector:
matchLabels:
control-plane: controller-manager
app.kubernetes.io/name: self-node-remediation-operator
self-node-remediation-operator: ""
strategy: {}
template:
Expand Down
5 changes: 3 additions & 2 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@ metadata:
name: controller-manager
namespace: system
labels:
control-plane: controller-manager
app.kubernetes.io/component: controller-manager
app.kubernetes.io/name: self-node-remediation-operator
spec:
selector:
matchLabels:
control-plane: controller-manager
app.kubernetes.io/name: self-node-remediation-operator
replicas: 1
template:
metadata:
Expand Down

0 comments on commit 4c4d2c0

Please sign in to comment.