Apply changes from code review
Changes in detail: - Add missing examples/documentation in values.yaml - Beautify indentation - Use 'with' instead of 'if' to don't repeat variable names - Fix changelog annotation - Bump minor chart version as this adds a feature Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
parent
2fb2005cf5
commit
f881d66379
3 changed files with 35 additions and 28 deletions
|
@ -2,7 +2,7 @@ apiVersion: v2
|
||||||
appVersion: 2.1.2
|
appVersion: 2.1.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: 3.21.2
|
version: 3.22.0
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://argoproj.github.io/argo-cd/assets/logo.png
|
icon: https://argoproj.github.io/argo-cd/assets/logo.png
|
||||||
keywords:
|
keywords:
|
||||||
|
@ -21,5 +21,4 @@ dependencies:
|
||||||
condition: redis-ha.enabled
|
condition: redis-ha.enabled
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- "[Fixed]: Dex deployment now also supports hostAliases"
|
- "[Added]: Support for server.additionalApplications[].info"
|
||||||
- "[Fixed]: server.additionalApplications.[].info"
|
|
||||||
|
|
|
@ -2,45 +2,45 @@
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: List
|
kind: List
|
||||||
items:
|
items:
|
||||||
{{- range .Values.server.additionalApplications }}
|
{{- range .Values.server.additionalApplications }}
|
||||||
- apiVersion: argoproj.io/v1alpha1
|
- apiVersion: argoproj.io/v1alpha1
|
||||||
kind: Application
|
kind: Application
|
||||||
metadata:
|
metadata:
|
||||||
{{- if .additionalAnnotations }}
|
{{- with .additionalAnnotations }}
|
||||||
annotations:
|
annotations:
|
||||||
{{- range $key, $value := .additionalAnnotations }}
|
{{- range $key, $value := . }}
|
||||||
{{ $key }}: {{ $value | quote }}
|
{{ $key }}: {{ $value | quote }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- with .additionalLabels }}
|
||||||
{{- if .additionalLabels }}
|
|
||||||
labels:
|
labels:
|
||||||
{{- toYaml .additionalLabels | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
name: {{ .name }}
|
name: {{ .name }}
|
||||||
{{- if .namespace }}
|
{{- with .namespace }}
|
||||||
namespace: {{ .namespace }}
|
namespace: {{ . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .finalizers }}
|
{{- with .finalizers }}
|
||||||
finalizers:
|
finalizers:
|
||||||
{{- toYaml .finalizers | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
project: {{ tpl .project $ }}
|
project: {{ tpl .project $ }}
|
||||||
source:
|
source:
|
||||||
{{- toYaml .source | nindent 8 }}
|
{{- toYaml .source | nindent 8 }}
|
||||||
destination:
|
destination:
|
||||||
{{- toYaml .destination | nindent 8 }}
|
{{- toYaml .destination | nindent 8 }}
|
||||||
{{- if .syncPolicy }}
|
{{- with .syncPolicy }}
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
{{- toYaml .syncPolicy | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .ignoreDifferences }}
|
{{- with .ignoreDifferences }}
|
||||||
ignoreDifferences:
|
ignoreDifferences:
|
||||||
{{- toYaml .ignoreDifferences | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .info }}
|
{{- with .info }}
|
||||||
info:
|
info:
|
||||||
{{- toYaml .info | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
|
@ -847,13 +847,21 @@ server:
|
||||||
# path: guestbook
|
# path: guestbook
|
||||||
# directory:
|
# directory:
|
||||||
# recurse: true
|
# recurse: true
|
||||||
# destination:
|
# destination:
|
||||||
# server: https://kubernetes.default.svc
|
# server: https://kubernetes.default.svc
|
||||||
# namespace: guestbook
|
# namespace: guestbook
|
||||||
# syncPolicy:
|
# syncPolicy:
|
||||||
# automated:
|
# automated:
|
||||||
# prune: false
|
# prune: false
|
||||||
# selfHeal: false
|
# selfHeal: false
|
||||||
|
# ignoreDifferences:
|
||||||
|
# - group: apps
|
||||||
|
# kind: Deployment
|
||||||
|
# jsonPointers:
|
||||||
|
# - /spec/replicas
|
||||||
|
# info:
|
||||||
|
# - name: url
|
||||||
|
# value: https://argoproj.github.io/
|
||||||
|
|
||||||
## Projects
|
## Projects
|
||||||
## reference: https://github.com/argoproj/argo-cd/blob/master/docs/operator-manual/
|
## reference: https://github.com/argoproj/argo-cd/blob/master/docs/operator-manual/
|
||||||
|
|
Loading…
Reference in a new issue