argocd on self argo project
This commit is contained in:
1 parent
5397bcc637
commit
d62f03ace1
2 files changed
+23
-2
No files matched your search
@@ -18,6 +18,7 @@ metadata:
|
||||
name: "{{ $appProps.namespace }}"
|
||||
{{ end }}
|
||||
|
||||
{{- include "homelab.argo.applicaton" $appProps -}}
|
||||
|
||||
{{- end -}}
|
||||
|
||||
|
||||
@@ -17,12 +17,32 @@ stringData:
|
||||
{{ if .Values.selfapp.enabled }}
|
||||
---
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: AppProject
|
||||
metadata:
|
||||
name: argocd
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
description: common applications
|
||||
orphanedResources:
|
||||
warn: false
|
||||
sourceRepos:
|
||||
- "*"
|
||||
destinations:
|
||||
- server: "*"
|
||||
namespace: '*'
|
||||
name: '*'
|
||||
clusterResourceWhitelist:
|
||||
- group: "*"
|
||||
kind: "*"
|
||||
---
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: "{{ .Release.Name }}"
|
||||
namespace: "{{ .Release.Namespace }}"
|
||||
spec:
|
||||
project: default
|
||||
project: argocd
|
||||
source:
|
||||
repoURL: "git@github.com:{{ .Values.gitops.repo }}.git"
|
||||
targetRevision: "{{ .Values.gitops.commit }}"
|
||||
@@ -51,7 +71,7 @@ metadata:
|
||||
name: "argoapps"
|
||||
namespace: "{{ .Release.Namespace }}"
|
||||
spec:
|
||||
project: default
|
||||
project: argocd
|
||||
source:
|
||||
repoURL: "git@github.com:{{ .Values.gitops.repo }}.git"
|
||||
targetRevision: "{{ .Values.gitops.commit }}"
|
||||
|
||||
Reference in new issue
Block a user