* fix issue 943 Signed-off-by: Artem Kosenko <artem.kosenko@thomsonreuters.com> * 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> * Update README Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com> Co-authored-by: Marko Bevc <marko@scalefactory.com> Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
46 lines
No EOL
1.2 KiB
YAML
46 lines
No EOL
1.2 KiB
YAML
{{- if .Values.server.additionalApplications }}
|
|
apiVersion: v1
|
|
kind: List
|
|
items:
|
|
{{- range .Values.server.additionalApplications }}
|
|
- apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
{{- with .additionalAnnotations }}
|
|
annotations:
|
|
{{- range $key, $value := . }}
|
|
{{ $key }}: {{ $value | quote }}
|
|
{{- end }}
|
|
{{- end }}
|
|
{{- with .additionalLabels }}
|
|
labels:
|
|
{{- toYaml . | nindent 8 }}
|
|
{{- end }}
|
|
name: {{ .name }}
|
|
{{- with .namespace }}
|
|
namespace: {{ . }}
|
|
{{- end }}
|
|
{{- with .finalizers }}
|
|
finalizers:
|
|
{{- toYaml . | nindent 8 }}
|
|
{{- end }}
|
|
spec:
|
|
project: {{ tpl .project $ }}
|
|
source:
|
|
{{- toYaml .source | nindent 8 }}
|
|
destination:
|
|
{{- toYaml .destination | nindent 8 }}
|
|
{{- with .syncPolicy }}
|
|
syncPolicy:
|
|
{{- toYaml . | nindent 8 }}
|
|
{{- end }}
|
|
{{- with .ignoreDifferences }}
|
|
ignoreDifferences:
|
|
{{- toYaml . | nindent 8 }}
|
|
{{- end }}
|
|
{{- with .info }}
|
|
info:
|
|
{{- toYaml . | nindent 8 }}
|
|
{{- end }}
|
|
{{- end }}
|
|
{{- end }} |