Compare commits
No commits in common. "d07f159c530d4e73f749c5bcf4ba54d297247ae2" and "92900ce14958385c66dc37117d427cb9582e262d" have entirely different histories.
d07f159c53
...
92900ce149
8 changed files with 0 additions and 54 deletions
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
apiVersion: v2
|
|
||||||
name: app-of-apps
|
|
||||||
type: application
|
|
||||||
version: 1.0.2
|
|
||||||
|
|
@ -1,49 +0,0 @@
|
||||||
---
|
|
||||||
{{ range $k, $v := $.Values.apps }}
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: {{ $v.name }}
|
|
||||||
namespace: argocd
|
|
||||||
finalizers:
|
|
||||||
- resources-finalizer.argocd.argoproj.io
|
|
||||||
spec:
|
|
||||||
project: {{ $.Values.project }}
|
|
||||||
source:
|
|
||||||
repoURL: {{ $.Values.source.repoURL }}
|
|
||||||
targetRevision: main
|
|
||||||
path: {{ print $.Values.source.path "/" $v.path }}
|
|
||||||
{{- with $v.helm }}
|
|
||||||
helm:
|
|
||||||
{{- with .valueFiles }}
|
|
||||||
valueFiles:
|
|
||||||
{{- toYaml . | nindent 8 }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
{{- with $v.plugin }}
|
|
||||||
plugin:
|
|
||||||
{{- toYaml . | nindent 6 }}
|
|
||||||
{{- end }}
|
|
||||||
destination:
|
|
||||||
server: {{ $.Values.destination.server }}
|
|
||||||
namespace: {{ $v.namespace }}
|
|
||||||
syncPolicy:
|
|
||||||
{{- if hasKey $v "selfHeal" | ternary $v.selfHeal false }}
|
|
||||||
automated:
|
|
||||||
selfHeal: {{ hasKey $v "selfHeal" | ternary $v.selfHeal false }}
|
|
||||||
{{- end }}
|
|
||||||
{{- with $v.managedNamespaceMetadata }}
|
|
||||||
managedNamespaceMetadata:
|
|
||||||
{{- toYaml . | nindent 6 }}
|
|
||||||
{{- end }}
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
{{- with $v.extraSyncOptions }}
|
|
||||||
{{- toYaml . | nindent 6 }}
|
|
||||||
{{- end }}
|
|
||||||
{{- with $v.ignoreDifferences }}
|
|
||||||
ignoreDifferences:
|
|
||||||
{{- toYaml . | nindent 4 }}
|
|
||||||
{{- end }}
|
|
||||||
---
|
|
||||||
{{ end }}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue