Cleans out subresource permissions.

Signed-off-by: Vlad Losev <vlad@losev.com>
This commit is contained in:
Vlad Losev 2023-02-09 13:42:02 -08:00
parent eb102d27aa
commit 66b4e33ea3
No known key found for this signature in database
GPG key ID: 3A3C3B9FAA3AB7AE
3 changed files with 15 additions and 5 deletions

View file

@ -3,7 +3,7 @@ appVersion: v3.4.5
name: argo-workflows
description: A Helm chart for Argo Workflows
type: application
version: 0.22.10
version: 0.22.11
icon: https://raw.githubusercontent.com/argoproj/argo-workflows/master/docs/assets/argo.png
home: https://github.com/argoproj/argo-helm
sources:
@ -14,4 +14,4 @@ maintainers:
annotations:
artifacthub.io/changes: |
- kind: changed
description: Upgrade Argo Workflows to v3.4.5
description: Cleaned RBAC permissions for subresources (pods/log, pods/exec).

View file

@ -14,7 +14,6 @@ rules:
- ""
resources:
- pods
- pods/exec
verbs:
- create
- get
@ -23,6 +22,12 @@ rules:
- update
- patch
- delete
- apiGroups:
- ""
resources:
- pods/exec
verbs:
- create
- apiGroups:
- ""
resources:

View file

@ -23,13 +23,18 @@ rules:
- ""
resources:
- pods
- pods/exec
- pods/log
verbs:
- get
- list
- watch
- delete
- apiGroups:
- ""
resources:
- pods/log
verbs:
- get
- list
{{- if .Values.server.sso }}
- apiGroups:
- ""