From 2c704a84e3e0167bf16aff7255ed506d8fd366ab Mon Sep 17 00:00:00 2001 From: adamzhoul <770822772@qq.com> Date: Sun, 26 Sep 2021 16:06:12 +0800 Subject: [PATCH] add create to yurt-tunnel-server ClusterRole (#500) --- config/setup/yurt-tunnel-server.yaml | 1 + config/yaml-template/yurt-tunnel-server.yaml | 1 + pkg/yurtctl/constants/yurt-tunnel-server-tmpl.go | 1 + 3 files changed, 3 insertions(+) diff --git a/config/setup/yurt-tunnel-server.yaml b/config/setup/yurt-tunnel-server.yaml index ffe15482f83..a87de757844 100644 --- a/config/setup/yurt-tunnel-server.yaml +++ b/config/setup/yurt-tunnel-server.yaml @@ -10,6 +10,7 @@ rules: resources: - certificatesigningrequests verbs: + - create - get - list - watch diff --git a/config/yaml-template/yurt-tunnel-server.yaml b/config/yaml-template/yurt-tunnel-server.yaml index 037ae9b596b..4615874d07a 100644 --- a/config/yaml-template/yurt-tunnel-server.yaml +++ b/config/yaml-template/yurt-tunnel-server.yaml @@ -10,6 +10,7 @@ rules: resources: - certificatesigningrequests verbs: + - create - get - list - watch diff --git a/pkg/yurtctl/constants/yurt-tunnel-server-tmpl.go b/pkg/yurtctl/constants/yurt-tunnel-server-tmpl.go index c7de0e4e249..3fc47783ff6 100644 --- a/pkg/yurtctl/constants/yurt-tunnel-server-tmpl.go +++ b/pkg/yurtctl/constants/yurt-tunnel-server-tmpl.go @@ -30,6 +30,7 @@ rules: resources: - certificatesigningrequests verbs: + - create - get - list - watch