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 da27315 commit afbcffe
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 0 deletions.
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 @@ -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 afbcffe

Please sign in to comment.