Skip to content

Commit

Permalink
add unique names instead of replacing it
Browse files Browse the repository at this point in the history
Signed-off-by: Feny Mehta <[email protected]>
  • Loading branch information
fbm3307 committed Sep 19, 2024
1 parent 38a7e51 commit f1376e6
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ apiVersion: v1
kind: Namespace
metadata:
labels:
control-plane: kubesaw-controller-manager
control-plane: controller-manager
kubesaw-control-plane: kubesaw-controller-manager
name: system
---
apiVersion: apps/v1
Expand All @@ -11,18 +12,21 @@ metadata:
name: controller-manager
namespace: system
labels:
control-plane: kubesaw-controller-manager
control-plane: controller-manager
kubesaw-control-plane: kubesaw-controller-manager
annotations:
kubectl.kubernetes.io/default-container: manager
spec:
selector:
matchLabels:
control-plane: kubesaw-controller-manager
control-plane: controller-manager
kubesaw-control-plane: kubesaw-controller-manager
replicas: 1
template:
metadata:
labels:
control-plane: kubesaw-controller-manager
control-plane: controller-manager
kubesaw-control-plane: kubesaw-controller-manager
spec:
securityContext:
runAsNonRoot: true
Expand Down

0 comments on commit f1376e6

Please sign in to comment.