Skip to content

Commit

Permalink
Fix controller manager label
Browse files Browse the repository at this point in the history
In all the openstack-operators, openstack.org/operator-name label is
used. The same needs to be used in watcher-operator. Otherwise During
log collection, ci-framework env_op_images role fails while querying
all controller manager pods.

This pr adds openstack.org/operator-name: watcher label to the operator.

Signed-off-by: Chandan Kumar <[email protected]>
  • Loading branch information
raukadah committed Nov 25, 2024
1 parent d9ad573 commit b7d5c9a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,21 @@ metadata:
namespace: system
labels:
control-plane: controller-manager
openstack.org/operator-name: watcher
app.kubernetes.io/name: watcher-operator
app.kubernetes.io/managed-by: kustomize
spec:
selector:
matchLabels:
control-plane: controller-manager
openstack.org/operator-name: watcher
replicas: 1
template:
metadata:
annotations:
kubectl.kubernetes.io/default-container: manager
labels:
control-plane: controller-manager
openstack.org/operator-name: watcher
spec:
# TODO(user): Uncomment the following code to configure the nodeAffinity expression
# according to the platforms which are supported by your solution.
Expand Down
2 changes: 1 addition & 1 deletion config/prometheus/monitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ spec:
insecureSkipVerify: true
selector:
matchLabels:
control-plane: controller-manager
openstack.org/operator-name: nova
2 changes: 1 addition & 1 deletion config/rbac/auth_proxy_service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ spec:
protocol: TCP
targetPort: https
selector:
control-plane: controller-manager
openstack.org/operator-name: watcher

0 comments on commit b7d5c9a

Please sign in to comment.