Skip to content

Commit

Permalink
Fixing the labels for better identify metrics (#292)
Browse files Browse the repository at this point in the history
As the label selector used for both catalogd and operator-controller
metrics services is "control-plane: controller-manager". Hence changing
the labels in both operator-controller and catalogd to make sure we
do not overlap.
Refer
operator-framework/operator-controller#955 for
details

Signed-off-by: Lalatendu Mohanty <lmohanty@redhat.com>
  • Loading branch information
LalatenduMohanty authored Jun 26, 2024
1 parent 7558b05 commit c0ed3fa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/base/manager/catalogserver_service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
namespace: system
spec:
selector:
control-plane: controller-manager
control-plane: catalogd-controller-manager
ports:
- name: http
protocol: TCP
Expand Down
4 changes: 2 additions & 2 deletions config/base/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ metadata:
spec:
selector:
matchLabels:
control-plane: controller-manager
control-plane: catalogd-controller-manager
replicas: 1
template:
metadata:
annotations:
kubectl.kubernetes.io/default-container: manager
labels:
control-plane: controller-manager
control-plane: catalogd-controller-manager
spec:
affinity:
nodeAffinity:
Expand Down
2 changes: 1 addition & 1 deletion config/base/rbac/auth_proxy_service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ spec:
protocol: TCP
targetPort: https
selector:
control-plane: controller-manager
control-plane: catalogd-controller-manager

0 comments on commit c0ed3fa

Please sign in to comment.