* Add support for syncWindows in additionalProjects * Update values.yaml Add example of syncWindows * Update Chart.yaml Bump version Co-authored-by: Spencer Gilbert <Spencer.Gilbert@gmail.com>
54 lines
1.5 KiB
YAML
54 lines
1.5 KiB
YAML
{{- if .Values.server.additionalProjects }}
|
|
apiVersion: v1
|
|
kind: List
|
|
items:
|
|
{{- range .Values.server.additionalProjects }}
|
|
- apiVersion: argoproj.io/v1alpha1
|
|
kind: AppProject
|
|
metadata:
|
|
{{- if .additionalAnnotations }}
|
|
annotations:
|
|
{{- range $key, $value := .additionalAnnotations }}
|
|
{{ $key }}: {{ $value | quote }}
|
|
{{- end }}
|
|
{{- end }}
|
|
{{- if .additionalLabels }}
|
|
labels:
|
|
{{- toYaml .additionalLabels | nindent 8 }}
|
|
{{- end }}
|
|
name: {{ .name }}
|
|
{{- if .namespace }}
|
|
namespace: {{ .namespace }}
|
|
{{- end }}
|
|
spec:
|
|
description: {{ .description }}
|
|
sourceRepos:
|
|
{{- toYaml .sourceRepos | nindent 8 }}
|
|
destinations:
|
|
{{- toYaml .destinations | nindent 8 }}
|
|
{{- if .clusterResourceWhitelist }}
|
|
clusterResourceWhitelist:
|
|
{{- toYaml .clusterResourceWhitelist | nindent 8 }}
|
|
{{- end }}
|
|
{{- if .namespaceResourceBlacklist }}
|
|
namespaceResourceBlacklist:
|
|
{{- toYaml .namespaceResourceBlacklist | nindent 8 }}
|
|
{{- end }}
|
|
{{- if .namespaceResourceWhitelist }}
|
|
namespaceResourceWhitelist:
|
|
{{- toYaml .namespaceResourceWhitelist | nindent 8 }}
|
|
{{- end }}
|
|
{{- if .orphanedResources }}
|
|
orphanedResources:
|
|
{{- toYaml .orphanedResources | nindent 8 }}
|
|
{{- end }}
|
|
{{- if .roles }}
|
|
roles:
|
|
{{- toYaml .roles | nindent 8 }}
|
|
{{- end }}
|
|
{{- if .syncWindows }}
|
|
syncWindows:
|
|
{{- toYaml .syncWindows | nindent 8 }}
|
|
{{- end }}
|
|
{{- end }}
|
|
{{- end }}
|