feat(argo-cd): Support annotations in argocd-configs secrets (#1314)
* feat(argo-cd): support annotations in argocd-configs secrets Signed-off-by: yu-croco <yuki.kita22@gmail.com> * fix(argo-cd): align to exitsing format Signed-off-by: yu-croco <yuki.kita22@gmail.com>
This commit is contained in:
parent
66638628b0
commit
1e689a4356
6 changed files with 25 additions and 2 deletions
|
|
@ -7,6 +7,10 @@ metadata:
|
|||
labels:
|
||||
argocd.argoproj.io/secret-type: repository
|
||||
{{- include "argo-cd.labels" (dict "context" $) | nindent 4 }}
|
||||
{{- with $.Values.configs.repositoriesAnnotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
data:
|
||||
{{- range $key, $value := $repo_value }}
|
||||
{{ $key }}: {{ $value | b64enc }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue