fix(argo-rollouts): Update ClusterRole with new rules (#993)

Signed-off-by: Donovan Muller <donovan.muller@gmail.com>
This commit is contained in:
Donovan Muller 2021-11-15 09:02:03 +02:00 committed by GitHub
parent 80eeb61a05
commit 12e25a37f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 4 deletions

View file

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: "v1.1.0"
description: A Helm chart for Argo Rollouts
name: argo-rollouts
version: 2.4.0
version: 2.5.0
icon: https://argoproj.github.io/argo-rollouts/assets/logo.png
home: https://github.com/argoproj/argo-helm
maintainers:
@ -11,4 +11,4 @@ maintainers:
- name: jessesuen
annotations:
artifacthub.io/changes: |
- "[Added]: Support for extraContainers for controller deployment"
- "[Added]: Updated ClusterRole with new rules"

View file

@ -56,6 +56,7 @@ rules:
- update
- patch
- delete
# deployments and podtemplates read access needed for workload reference support
- apiGroups:
- ""
- apps
@ -67,6 +68,7 @@ rules:
- list
- watch
# services patch needed to update selector of canary/stable/active/preview services
# services create needed to create services for experiments
- apiGroups:
- ""
resources:
@ -76,8 +78,17 @@ rules:
- list
- watch
- patch
- create
# leases create/get/update needed for leader election
- apiGroups:
- coordination.k8s.io
resources:
- leases
verbs:
- create
- get
- update
# secret read access to run analysis templates which reference secrets
# configmap access to read notification-engine configuration
- apiGroups:
- ""
resources:
@ -136,7 +147,7 @@ rules:
- update
- patch
- delete
# virtualservice access needed for using the Istio provider
# virtualservice/destinationrule access needed for using the Istio provider
- apiGroups:
- networking.istio.io
resources:
@ -159,10 +170,13 @@ rules:
- get
- update
- patch
# ambassador access needed for Ambassador provider
- apiGroups:
- getambassador.io
- x.getambassador.io
resources:
- mappings
- ambassadormappings
verbs:
- create
- watch
@ -170,4 +184,18 @@ rules:
- update
- list
- delete
# Endpoints and TargetGroupBindings needed for ALB target group verification
- apiGroups:
- ""
resources:
- endpoints
verbs:
- get
- apiGroups:
- elbv2.k8s.aws
resources:
- targetgroupbindings
verbs:
- list
- get
{{- end }}