Merge pull request #205 from tete17/Support-Rollouts-on-Helm-deployment

Allow reloader to modify rollouts when installed through helm
This commit is contained in:
Ahmed Waleed Malik
2021-03-09 23:50:42 +05:00
committed by GitHub
3 changed files with 25 additions and 0 deletions
@@ -43,6 +43,18 @@ rules:
- get
- update
- patch
{{- end }}
{{- if or (.Capabilities.APIVersions.Has "argoproj.io/v1alpha1") (.Values.isArgoRollouts) }}
- apiGroups:
- "argoproj.io"
- ""
resources:
- rollouts
verbs:
- list
- get
- update
- patch
{{- end }}
- apiGroups:
- "apps"
@@ -43,6 +43,18 @@ rules:
- get
- update
- patch
{{- end }}
{{- if or (.Capabilities.APIVersions.Has "argoproj.io/v1alpha1") (.Values.isArgoRollouts) }}
- apiGroups:
- "argoproj.io"
- ""
resources:
- rollouts
verbs:
- list
- get
- update
- patch
{{- end }}
- apiGroups:
- "apps"
@@ -9,6 +9,7 @@ kubernetes:
host: https://kubernetes.default
reloader:
isArgoRollouts: false
isOpenshift: false
ignoreSecrets: false
ignoreConfigMaps: false