Skip to content

Commit

Permalink
changing label to prevent service from looking at other pods that are…
Browse files Browse the repository at this point in the history
… not limitador
  • Loading branch information
R-Lawton committed Jul 2, 2024
1 parent 4669d07 commit c07e895
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ spec:
port: 8080
targetPort: metrics
selector:
app: limitador-operator
control-plane: controller-manager
status:
loadBalancer: {}
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ metadata:
capabilities: Basic Install
categories: Integration & Delivery
containerImage: quay.io/kuadrant/limitador-operator:latest
createdAt: "2024-05-16T14:52:42Z"
createdAt: "2024-07-02T10:25:11Z"
operators.operatorframework.io/builder: operator-sdk-v1.32.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
repository: https://github.com/Kuadrant/limitador-operator
Expand Down Expand Up @@ -144,6 +144,7 @@ spec:
template:
metadata:
labels:
app: limitador-operator
control-plane: controller-manager
spec:
containers:
Expand Down
1 change: 1 addition & 0 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ spec:
metadata:
labels:
control-plane: controller-manager
app: limitador-operator
spec:
securityContext:
runAsNonRoot: true
Expand Down
2 changes: 2 additions & 0 deletions config/manager/metrics_service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ spec:
targetPort: metrics
selector:
control-plane: controller-manager
app: limitador-operator

1 change: 1 addition & 0 deletions config/prometheus/monitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ spec:
selector:
matchLabels:
control-plane: controller-manager
app: limitador-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 @@ -12,3 +12,4 @@ spec:
targetPort: https
selector:
control-plane: controller-manager
app: limitador-operator
2 changes: 2 additions & 0 deletions config/rbac/service_account.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ kind: ServiceAccount
metadata:
name: controller-manager
namespace: system
labels:
app: limitador-operator

0 comments on commit c07e895

Please sign in to comment.