feat(argo-rollouts): Add rollout plugin gloo platform rbac

Signed-off-by: Brian Gottfried <bgottfried91@gmail.com>
This commit is contained in:
Brian Gottfried 2023-12-29 10:10:35 -06:00
parent 410e73af93
commit 2ee42b317d
4 changed files with 23 additions and 3 deletions

View file

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: v1.6.4 appVersion: v1.6.4
description: A Helm chart for Argo Rollouts description: A Helm chart for Argo Rollouts
name: argo-rollouts name: argo-rollouts
version: 2.34.0 version: 2.34.1
home: https://github.com/argoproj/argo-helm home: https://github.com/argoproj/argo-helm
icon: https://argoproj.github.io/argo-rollouts/assets/logo.png icon: https://argoproj.github.io/argo-rollouts/assets/logo.png
keywords: keywords:
@ -18,5 +18,5 @@ annotations:
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252 fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
url: https://argoproj.github.io/argo-helm/pgp_keys.asc url: https://argoproj.github.io/argo-helm/pgp_keys.asc
artifacthub.io/changes: | artifacthub.io/changes: |
- kind: changed - kind: added
description: Allow setting log config for rollouts dashboard description: Added Gloo Platform provider RBAC rules

View file

@ -267,5 +267,14 @@ rules:
- watch - watch
- update - update
{{- end }} {{- end }}
{{- if .Values.providerRBAC.providers.glooPlatform }}
# Access needed when using the Gloo Platform provider
- apiGroups:
- networking.gloo.solo.io
resources:
- routetables
verbs:
- '*'
{{- end }}
{{- end }} {{- end }}
{{- end }} {{- end }}

View file

@ -256,5 +256,14 @@ rules:
- get - get
- update - update
{{- end }} {{- end }}
{{- if .Values.providerRBAC.providers.glooPlatform }}
# Access needed when using the Gloo Platform provider
- apiGroups:
- networking.gloo.solo.io
resources:
- routetables
verbs:
- '*'
{{- end }}
{{- end }} {{- end }}
{{- end }} {{- end }}

View file

@ -271,6 +271,8 @@ providerRBAC:
apisix: true apisix: true
# -- Adds RBAC rules for the Contour provider, see `https://github.com/argoproj-labs/rollouts-plugin-trafficrouter-contour/blob/main/README.md` # -- Adds RBAC rules for the Contour provider, see `https://github.com/argoproj-labs/rollouts-plugin-trafficrouter-contour/blob/main/README.md`
contour: true contour: true
# -- Adds RBAC rules for the Gloo Platform provider, see `https://github.com/argoproj-labs/rollouts-plugin-trafficrouter-glooplatform/blob/main/README.md`
glooPlatform: true
dashboard: dashboard:
# -- Deploy dashboard server # -- Deploy dashboard server