Skip to content

Commit

Permalink
Add part-of label to metrics monitor service labelSelector (#204)
Browse files Browse the repository at this point in the history
add part-of label to metrics monitor service labelSelector
  • Loading branch information
bruelea authored Jan 14, 2025
1 parent ad9d575 commit b7cb488
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ spec:
kubectl.kubernetes.io/default-container: manager
labels:
control-plane: controller-manager
app.kubernetes.io/part-of: netbox-operator
spec:
# TODO(user): Uncomment the following code to configure the nodeAffinity expression
# according to the platforms which are supported by your solution.
Expand Down
1 change: 1 addition & 0 deletions config/prometheus/monitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ spec:
selector:
matchLabels:
control-plane: controller-manager
app.kubernetes.io/part-of: netbox-operator
1 change: 1 addition & 0 deletions config/rbac/auth_proxy_service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ spec:
targetPort: https
selector:
control-plane: controller-manager
app.kubernetes.io/part-of: netbox-operator

0 comments on commit b7cb488

Please sign in to comment.