Skip to content

Commit 2a270c1

Browse files
authored
Merge pull request #527 from mengqiy/add_label_to_ns
add control-plane: controller-manager label to namespace
2 parents 2103ee7 + b34052d commit 2a270c1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

pkg/scaffold/manager/config.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ var configTemplate = `apiVersion: v1
4444
kind: Namespace
4545
metadata:
4646
labels:
47+
control-plane: controller-manager
4748
controller-tools.k8s.io: "1.0"
4849
name: system
4950
---

test/project/config/manager/manager.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ apiVersion: v1
22
kind: Namespace
33
metadata:
44
labels:
5+
control-plane: controller-manager
56
controller-tools.k8s.io: "1.0"
67
name: system
78
---

0 commit comments

Comments
 (0)