feat(argocd-notifications): support annotations on secret object (#952)
* support annotations on secret objects Signed-off-by: Marcial White <marcial@kaskada.com> * true-up artifacthub changes Signed-off-by: Marcial White <marcial@kaskada.com> Co-authored-by: Marko Bevc <marko@scalefactory.com>
This commit is contained in:
parent
73d1aedaec
commit
e4f8dd5810
3 changed files with 11 additions and 2 deletions
|
@ -3,7 +3,7 @@ appVersion: 1.1.1
|
||||||
description: A Helm chart for ArgoCD notifications, an add-on to ArgoCD.
|
description: A Helm chart for ArgoCD notifications, an add-on to ArgoCD.
|
||||||
name: argocd-notifications
|
name: argocd-notifications
|
||||||
type: application
|
type: application
|
||||||
version: 1.5.0
|
version: 1.5.1
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://argocd-notifications.readthedocs.io/en/stable/assets/logo.png
|
icon: https://argocd-notifications.readthedocs.io/en/stable/assets/logo.png
|
||||||
keywords:
|
keywords:
|
||||||
|
@ -15,4 +15,4 @@ maintainers:
|
||||||
- name: andyfeller
|
- name: andyfeller
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- "[Added]: Configuration for Pod labels"
|
- "[Added]: Support annotations on secret objects"
|
||||||
|
|
|
@ -5,6 +5,12 @@ metadata:
|
||||||
name: argocd-notifications-secret
|
name: argocd-notifications-secret
|
||||||
labels:
|
labels:
|
||||||
{{- include "argocd-notifications.labels" . | nindent 4 }}
|
{{- include "argocd-notifications.labels" . | nindent 4 }}
|
||||||
|
{{- if .Values.secret.annotations }}
|
||||||
|
annotations:
|
||||||
|
{{- range $key, $value := .Values.secret.annotations }}
|
||||||
|
{{ $key }}: {{ $value | quote }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
type: Opaque
|
type: Opaque
|
||||||
stringData:
|
stringData:
|
||||||
{{- with .Values.secret.items }}
|
{{- with .Values.secret.items }}
|
||||||
|
|
|
@ -28,6 +28,9 @@ secret:
|
||||||
# Whether helm chart creates controller secret
|
# Whether helm chart creates controller secret
|
||||||
create: true
|
create: true
|
||||||
|
|
||||||
|
# key:value pairs to be added to the secret
|
||||||
|
annotations: {}
|
||||||
|
|
||||||
items:
|
items:
|
||||||
# Generic key:value pairs to be inserted into the secret
|
# Generic key:value pairs to be inserted into the secret
|
||||||
# Can be used for templates, notification services etc. Some examples given below.
|
# Can be used for templates, notification services etc. Some examples given below.
|
||||||
|
|
Loading…
Reference in a new issue