diff --git a/litmus-portal/cluster-k8s-manifest.yml b/litmus-portal/cluster-k8s-manifest.yml index b6368d84b6f..00a9786d472 100644 --- a/litmus-portal/cluster-k8s-manifest.yml +++ b/litmus-portal/cluster-k8s-manifest.yml @@ -326,7 +326,7 @@ rules: resources: [eventtrackerpolicies/status] verbs: [get, patch, update] - apiGroups: ["", extensions, apps] - resources: [deployments, daemonsets, statefulsets, pods, configmaps] + resources: [deployments, daemonsets, statefulsets, pods, configmaps, secrets] verbs: [get, list, watch] --- apiVersion: rbac.authorization.k8s.io/v1 diff --git a/litmus-portal/graphql-server/manifests/cluster/3a_agents_rbac.yaml b/litmus-portal/graphql-server/manifests/cluster/3a_agents_rbac.yaml index 4233ae84aa4..a7effee6eec 100644 --- a/litmus-portal/graphql-server/manifests/cluster/3a_agents_rbac.yaml +++ b/litmus-portal/graphql-server/manifests/cluster/3a_agents_rbac.yaml @@ -264,6 +264,7 @@ rules: - statefulsets - pods - configmaps + - secrets verbs: - get - list diff --git a/litmus-portal/graphql-server/manifests/namespace/3a_agents_rbac.yaml b/litmus-portal/graphql-server/manifests/namespace/3a_agents_rbac.yaml index 7990e6adb86..742455a9eb9 100644 --- a/litmus-portal/graphql-server/manifests/namespace/3a_agents_rbac.yaml +++ b/litmus-portal/graphql-server/manifests/namespace/3a_agents_rbac.yaml @@ -284,6 +284,7 @@ rules: - get - list - watch + - secrets --- apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding diff --git a/litmus-portal/namespaced-k8s-template.yml b/litmus-portal/namespaced-k8s-template.yml index 0a43d6fdf3f..8cc6f63756c 100644 --- a/litmus-portal/namespaced-k8s-template.yml +++ b/litmus-portal/namespaced-k8s-template.yml @@ -330,7 +330,7 @@ rules: resources: [eventtrackerpolicies/status] verbs: [get, patch, update] - apiGroups: ["", extensions, apps] - resources: [deployments, daemonsets, statefulsets, pods, configmaps] + resources: [deployments, daemonsets, statefulsets, pods, configmaps, secrets] verbs: [get, list, watch] --- apiVersion: rbac.authorization.k8s.io/v1 diff --git a/litmus-portal/platforms/okteto/litmus-portal-dev-manifest-template.yml b/litmus-portal/platforms/okteto/litmus-portal-dev-manifest-template.yml index 559017eb52e..7a926c80b80 100644 --- a/litmus-portal/platforms/okteto/litmus-portal-dev-manifest-template.yml +++ b/litmus-portal/platforms/okteto/litmus-portal-dev-manifest-template.yml @@ -118,7 +118,7 @@ metadata: name: subscriber-role-for-litmusportal-server rules: - apiGroups: [""] - resources: [configmaps] + resources: [configmaps, secrets] verbs: [get, create, delete, update] - apiGroups: [""] @@ -330,7 +330,7 @@ rules: resources: [eventtrackerpolicies/status] verbs: [get, patch, update] - apiGroups: ["", extensions, apps] - resources: [deployments, daemonsets, statefulsets, pods, configmaps] + resources: [deployments, daemonsets, statefulsets, pods, configmaps, secrets] verbs: [get, list, watch] --- apiVersion: rbac.authorization.k8s.io/v1 diff --git a/mkdocs/docs/2.8.0/litmus-2.8.0.yaml b/mkdocs/docs/2.8.0/litmus-2.8.0.yaml index b26e762f042..4bd0eb45646 100644 --- a/mkdocs/docs/2.8.0/litmus-2.8.0.yaml +++ b/mkdocs/docs/2.8.0/litmus-2.8.0.yaml @@ -326,7 +326,7 @@ rules: resources: [eventtrackerpolicies/status] verbs: [get, patch, update] - apiGroups: ["", extensions, apps] - resources: [deployments, daemonsets, statefulsets, pods, configmaps] + resources: [deployments, daemonsets, statefulsets, pods, configmaps, secrets] verbs: [get, list, watch] --- apiVersion: rbac.authorization.k8s.io/v1 diff --git a/mkdocs/docs/2.8.0/litmus-namespaced-2.8.0.yaml b/mkdocs/docs/2.8.0/litmus-namespaced-2.8.0.yaml index cd5b2baa5e1..67a3b8b63a4 100644 --- a/mkdocs/docs/2.8.0/litmus-namespaced-2.8.0.yaml +++ b/mkdocs/docs/2.8.0/litmus-namespaced-2.8.0.yaml @@ -330,7 +330,7 @@ rules: resources: [eventtrackerpolicies/status] verbs: [get, patch, update] - apiGroups: ["", extensions, apps] - resources: [deployments, daemonsets, statefulsets, pods, configmaps] + resources: [deployments, daemonsets, statefulsets, pods, configmaps, secrets] verbs: [get, list, watch] --- apiVersion: rbac.authorization.k8s.io/v1