Fix controller Role/ClusterRole to work with InstanceID (#833)
Bumped Chart version Add indednt in controller ConfigMap flow control Signed-off-by: Jakub Bielawski <jakubbielawski89@gmail.com>
This commit is contained in:
parent
1e3a4afd05
commit
186fe34b87
3 changed files with 15 additions and 5 deletions
|
@ -2,7 +2,7 @@ apiVersion: v2
|
||||||
name: argo-workflows
|
name: argo-workflows
|
||||||
description: A Helm chart for Argo Workflows
|
description: A Helm chart for Argo Workflows
|
||||||
type: application
|
type: application
|
||||||
version: 0.2.7
|
version: 0.2.8
|
||||||
appVersion: "v3.0.7"
|
appVersion: "v3.0.7"
|
||||||
icon: https://raw.githubusercontent.com/argoproj/argo-workflows/master/docs/assets/argo.png
|
icon: https://raw.githubusercontent.com/argoproj/argo-workflows/master/docs/assets/argo.png
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
|
@ -15,4 +15,4 @@ maintainers:
|
||||||
- name: benjaminws
|
- name: benjaminws
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- "[Added]: Initialize Changelog"
|
- "[Fixed]: Controller Role/ClusterRole to work with InstanceID"
|
||||||
|
|
|
@ -121,8 +121,18 @@ rules:
|
||||||
resources:
|
resources:
|
||||||
- leases
|
- leases
|
||||||
resourceNames:
|
resourceNames:
|
||||||
|
{{- if .Values.controller.instanceID.enabled }}
|
||||||
|
{{- if .Values.controller.instanceID.useReleaseName }}
|
||||||
|
- workflow-controller-{{ .Release.Name }}
|
||||||
|
- workflow-controller-lease-{{ .Release.Name }}
|
||||||
|
{{- else }}
|
||||||
|
- workflow-controller-{{ .Values.controller.instanceID.explicitID }}
|
||||||
|
- workflow-controller-lease-{{ .Values.controller.instanceID.explicitID }}
|
||||||
|
{{- end }}
|
||||||
|
{{- else }}
|
||||||
- workflow-controller
|
- workflow-controller
|
||||||
- workflow-controller-lease
|
- workflow-controller-lease
|
||||||
|
{{- end }}
|
||||||
verbs:
|
verbs:
|
||||||
- get
|
- get
|
||||||
- watch
|
- watch
|
||||||
|
|
Loading…
Reference in a new issue