Skip to content

Commit

Permalink
add control-plane: controller-manager label to ns
Browse files Browse the repository at this point in the history
  • Loading branch information
Mengqi Yu committed Dec 13, 2018
1 parent 2103ee7 commit b34052d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/scaffold/manager/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ var configTemplate = `apiVersion: v1
kind: Namespace
metadata:
labels:
control-plane: controller-manager
controller-tools.k8s.io: "1.0"
name: system
---
Expand Down
1 change: 1 addition & 0 deletions test/project/config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: v1
kind: Namespace
metadata:
labels:
control-plane: controller-manager
controller-tools.k8s.io: "1.0"
name: system
---
Expand Down

0 comments on commit b34052d

Please sign in to comment.