From 88a326bacdffde9e065b08ba893a17149584e72e Mon Sep 17 00:00:00 2001 From: Saumit Date: Sat, 11 Oct 2025 02:34:38 +0530 Subject: platform: Adding argocd helm chart --- .../templates/argocd-notifications/rolebinding.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 astroshop-platform/argocd-helmchart/templates/argocd-notifications/rolebinding.yaml (limited to 'astroshop-platform/argocd-helmchart/templates/argocd-notifications/rolebinding.yaml') diff --git a/astroshop-platform/argocd-helmchart/templates/argocd-notifications/rolebinding.yaml b/astroshop-platform/argocd-helmchart/templates/argocd-notifications/rolebinding.yaml new file mode 100644 index 0000000..e225962 --- /dev/null +++ b/astroshop-platform/argocd-helmchart/templates/argocd-notifications/rolebinding.yaml @@ -0,0 +1,17 @@ +{{- if .Values.notifications.enabled }} +apiVersion: rbac.authorization.k8s.io/v1 +kind: RoleBinding +metadata: + name: {{ include "argo-cd.notifications.fullname" . }} + namespace: {{ include "argo-cd.namespace" . }} + labels: + {{- include "argo-cd.labels" (dict "context" . "component" .Values.notifications.name "name" .Values.notifications.name) | nindent 4 }} +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: Role + name: {{ include "argo-cd.notifications.fullname" . }} +subjects: + - kind: ServiceAccount + name: {{ include "argo-cd.notifications.serviceAccountName" . }} + namespace: {{ include "argo-cd.namespace" . }} +{{- end }} -- cgit v1.2.3