feat(argo-rollouts): add dashboard permission on Deployments (#1202)

* feat(argo-rollouts): add dashboard permission on Deployments

- needed for Rollouts with workload referencing

Signed-off-by: Ben Poland <ben.poland@faire.com>

* Add podtemplates to match controller role

Signed-off-by: Ben Poland <ben.poland@faire.com>
This commit is contained in:
Ben Poland 2022-03-31 13:31:43 -04:00 committed by GitHub
parent 58926e3d79
commit 4b80adcfd8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 3 deletions

View file

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: "v1.2.0" appVersion: "v1.2.0"
description: A Helm chart for Argo Rollouts description: A Helm chart for Argo Rollouts
name: argo-rollouts name: argo-rollouts
version: 2.12.0 version: 2.13.0
icon: https://argoproj.github.io/argo-rollouts/assets/logo.png icon: https://argoproj.github.io/argo-rollouts/assets/logo.png
home: https://github.com/argoproj/argo-helm home: https://github.com/argoproj/argo-helm
maintainers: maintainers:
@ -11,4 +11,4 @@ maintainers:
- name: jessesuen - name: jessesuen
annotations: annotations:
artifacthub.io/changes: | artifacthub.io/changes: |
- "[Added]: Upgrade argo-rollouts to v1.2.0" - "[Added]: dashboard permission on Deployments"

View file

@ -153,4 +153,4 @@ Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/
[Node selector]: https://kubernetes.io/docs/user-guide/node-selection/ [Node selector]: https://kubernetes.io/docs/user-guide/node-selection/
[probe]: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes [probe]: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
[Tolerations]: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ [Tolerations]: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
[values.yaml]: https://github.com/argoproj/argo-helm/blob/argo-rollouts-2.12.0/charts/argo-rollouts/values.yaml [values.yaml]: https://github.com/argoproj/argo-helm/blob/argo-rollouts-2.13.0/charts/argo-rollouts/values.yaml

View file

@ -40,6 +40,17 @@ rules:
- get - get
- list - list
- watch - watch
# deployments and podtemplates read access needed for workload reference support
- apiGroups:
- ""
- apps
resources:
- deployments
- podtemplates
verbs:
- get
- list
- watch
- apiGroups: - apiGroups:
- apps - apps
resources: resources: