Skip to content

Commit

Permalink
KUBESAW-187: Have a unique label for our operators (#597)
Browse files Browse the repository at this point in the history
* KUBESAW-170: Have a unique label for our operators

Signed-off-by: Feny Mehta <[email protected]>

* add unique names instead of replacing it

Signed-off-by: Feny Mehta <[email protected]>

---------

Signed-off-by: Feny Mehta <[email protected]>
  • Loading branch information
fbm3307 authored Sep 19, 2024
1 parent 53187a5 commit f80135a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ kind: Namespace
metadata:
labels:
control-plane: controller-manager
kubesaw-control-plane: kubesaw-controller-manager
name: system
---
apiVersion: apps/v1
Expand All @@ -12,17 +13,20 @@ metadata:
namespace: system
labels:
control-plane: controller-manager
kubesaw-control-plane: kubesaw-controller-manager
annotations:
kubectl.kubernetes.io/default-container: manager
spec:
selector:
matchLabels:
control-plane: controller-manager
kubesaw-control-plane: kubesaw-controller-manager
replicas: 1
template:
metadata:
labels:
control-plane: controller-manager
kubesaw-control-plane: kubesaw-controller-manager
spec:
securityContext:
runAsNonRoot: true
Expand Down

0 comments on commit f80135a

Please sign in to comment.