fix(argo-cd): Create notifications clusterrole and clusterrolebinding when enabled (#2326)
* Create clusterrole for nitifications only when notifications enabled Signed-off-by: Denis Kadyshev <metajiji@gmail.com> * Create clusterrolebinding for nitifications only when notifications enbaled Signed-off-by: Denis Kadyshev <metajiji@gmail.com> * Bump version in Chart.yaml Signed-off-by: Denis Kadyshev <metajiji@gmail.com> * Update Chart.yaml Signed-off-by: Denis Kadyshev <metajiji@gmail.com> * Update Chart.yaml Signed-off-by: Denis Kadyshev <metajiji@gmail.com> --------- Signed-off-by: Denis Kadyshev <metajiji@gmail.com>pull/2329/head argo-cd-5.50.1
parent
733d84a423
commit
4afebb25f6
|
@ -3,7 +3,7 @@ appVersion: v2.8.6
|
||||||
kubeVersion: ">=1.23.0-0"
|
kubeVersion: ">=1.23.0-0"
|
||||||
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
||||||
name: argo-cd
|
name: argo-cd
|
||||||
version: 5.50.0
|
version: 5.50.1
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
||||||
sources:
|
sources:
|
||||||
|
@ -26,5 +26,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: fixed
|
||||||
description: Upgrade Argo CD to v2.8.6
|
description: Create notifications clusterrole and clusterrolebinding when enabled
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{{- if .Values.createClusterRoles }}
|
{{- if and .Values.notifications.enabled .Values.createClusterRoles }}
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
metadata:
|
metadata:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{{- if .Values.createClusterRoles }}
|
{{- if and .Values.notifications.enabled .Values.createClusterRoles }}
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRoleBinding
|
kind: ClusterRoleBinding
|
||||||
metadata:
|
metadata:
|
||||||
|
|
Loading…
Reference in New Issue