fix(argo-cd): Extend K8s RBAC when using UI exec feature (#1326)
Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
parent
04f4cb0ba1
commit
99f97cafd9
3 changed files with 15 additions and 7 deletions
|
@ -2,7 +2,7 @@ apiVersion: v2
|
||||||
appVersion: v2.4.0
|
appVersion: v2.4.0
|
||||||
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
||||||
name: argo-cd
|
name: argo-cd
|
||||||
version: 4.9.0
|
version: 4.9.1
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
||||||
keywords:
|
keywords:
|
||||||
|
@ -21,8 +21,4 @@ dependencies:
|
||||||
condition: redis-ha.enabled
|
condition: redis-ha.enabled
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- "[Changed]: Update Argo CD to v2.4.0"
|
- "[Fixed]: Extend K8s RBAC when using UI exec feature"
|
||||||
- "[Added]: Specify logs RBAC enforcement config in server"
|
|
||||||
- "[Changed]: Remove ksonnet and helm 2 support from Application and applicationSet CRDs"
|
|
||||||
- "[Changed]: Use applicationset binary on the upstream image"
|
|
||||||
- "[Changed]: Upgrade redis to 7.0.0"
|
|
||||||
|
|
|
@ -27,4 +27,12 @@ rules:
|
||||||
- pods/log
|
- pods/log
|
||||||
verbs:
|
verbs:
|
||||||
- get
|
- get
|
||||||
{{- end }}
|
{{- if eq (index .Values.server.config "exec.enabled") "true" }}
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
resources:
|
||||||
|
- pods/exec
|
||||||
|
verbs:
|
||||||
|
- create
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
|
|
@ -1231,6 +1231,10 @@ server:
|
||||||
# Ref: https://argo-cd.readthedocs.io/en/latest/operator-manual/upgrading/2.3-2.4/#enable-logs-rbac-enforcement
|
# Ref: https://argo-cd.readthedocs.io/en/latest/operator-manual/upgrading/2.3-2.4/#enable-logs-rbac-enforcement
|
||||||
server.rbac.log.enforce.enable: "false"
|
server.rbac.log.enforce.enable: "false"
|
||||||
|
|
||||||
|
# exec.enabled indicates whether the UI exec feature is enabled. It is disabled by default.
|
||||||
|
# Ref: https://argo-cd.readthedocs.io/en/latest/operator-manual/rbac/#exec-resource
|
||||||
|
exec.enabled: "false"
|
||||||
|
|
||||||
# DEPRECATED: Please instead use configs.credentialTemplates and configs.repositories
|
# DEPRECATED: Please instead use configs.credentialTemplates and configs.repositories
|
||||||
# repositories: |
|
# repositories: |
|
||||||
# - url: git@github.com:group/repo.git
|
# - url: git@github.com:group/repo.git
|
||||||
|
|
Loading…
Reference in a new issue