feat(argo-cd): Support setting ArgoCD Notifications secret (#2577)
* chore(deps): update renovatebot/github-action action to v40.1.3 (#2573) Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com> Signed-off-by: ranrubin <ranrubin@gmail.com> * feat(argo-cd): Support for existing Secret in ArgoCD Notifications, and ability to set its name. Signed-off-by: ranrubin <ranrubin@gmail.com> * feat(argo-cd): Pass Secret name to Notification controller Signed-off-by: ranrubin <ranrubin@gmail.com> * chore(deps): update renovatebot/github-action action to v40.1.4 (#2579) Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com> Signed-off-by: ranrubin <ranrubin@gmail.com> * feat(argo-cd): Remove redundant useExistingSecret, and assume existence of a secret Signed-off-by: ranrubin <ranrubin@gmail.com> --------- Signed-off-by: ranrubin <ranrubin@gmail.com> Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
This commit is contained in:
parent
fc620a3d51
commit
b9615e451c
7 changed files with 12 additions and 8 deletions
|
|
@ -38,14 +38,12 @@ rules:
|
|||
verbs:
|
||||
- get
|
||||
{{- end }}
|
||||
{{- if .Values.notifications.secret.create }}
|
||||
- apiGroups:
|
||||
- ""
|
||||
resourceNames:
|
||||
- argocd-notifications-secret
|
||||
- {{ .Values.notifications.secret.name }}
|
||||
resources:
|
||||
- secrets
|
||||
verbs:
|
||||
- get
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue