fix: Additional Annotations in ArgoCD projects (#311)

* fix: Additional Annotations in ArgoCD projects

* Bump Chart version
This commit is contained in:
Paul Cantea 2020-04-17 15:40:35 -07:00 committed by GitHub
parent 02e0da50d4
commit 722acb7e4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "1.5.2" appVersion: "1.5.2"
description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes. description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
name: argo-cd name: argo-cd
version: 2.2.5 version: 2.2.6
home: https://github.com/argoproj/argo-helm home: https://github.com/argoproj/argo-helm
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
keywords: keywords:

View file

@ -6,9 +6,9 @@ items:
- apiVersion: argoproj.io/v1alpha1 - apiVersion: argoproj.io/v1alpha1
kind: AppProject kind: AppProject
metadata: metadata:
{{- if .additionalProjects }} {{- if .additionalAnnotations }}
annotations: annotations:
{{- range $key, $value := .additionalProjects }} {{- range $key, $value := .additionalAnnotations }}
{{ $key }}: {{ $value | quote }} {{ $key }}: {{ $value | quote }}
{{- end }} {{- end }}
{{- end }} {{- end }}
@ -43,4 +43,4 @@ items:
{{- toYaml .roles | nindent 8 }} {{- toYaml .roles | nindent 8 }}
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- end }} {{- end }}