From f08a6ec9a771c87775c08808471d2da82acedf52 Mon Sep 17 00:00:00 2001 From: Patrice Ferlet Date: Wed, 1 Jun 2022 16:05:34 +0200 Subject: [PATCH] Fix apiGroups and resources (need "s") --- helm/role.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helm/role.go b/helm/role.go index 152d1d0..c708b21 100644 --- a/helm/role.go +++ b/helm/role.go @@ -1,8 +1,8 @@ package helm type Rule struct { - ApiGroup []string `yaml:"apiGroup,omitempty"` - Resources []string `yaml:"resource,omitempty"` + ApiGroup []string `yaml:"apiGroups,omitempty"` + Resources []string `yaml:"resources,omitempty"` Verbs []string `yaml:"verbs,omitempty"` }