mirror of
https://github.com/optim-enterprises-bv/homelab.git
synced 2025-10-30 01:22:31 +00:00
feat(app): Adding Deltahouse application
This commit is contained in:
committed by
Vegard Hagen
parent
7c6d24a49f
commit
37370e093e
32
apps/delta/app-deltahouse.yaml
Normal file
32
apps/delta/app-deltahouse.yaml
Normal file
@@ -0,0 +1,32 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: deltahouse
|
||||
namespace: argocd
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
labels:
|
||||
dev.stonegarden: delta
|
||||
spec:
|
||||
project: delta
|
||||
source:
|
||||
repoURL: https://github.com/vehagn/deltahouse-deployment
|
||||
path: '.'
|
||||
targetRevision: HEAD
|
||||
destination:
|
||||
namespace: delta
|
||||
name: in-cluster
|
||||
syncPolicy:
|
||||
automated:
|
||||
selfHeal: true
|
||||
prune: true
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: delta
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: delta-test
|
||||
9
apps/delta/kustomization.yaml
Normal file
9
apps/delta/kustomization.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
commonLabels:
|
||||
dev.stonegarden: app-management
|
||||
app.kubernetes.io/managed-by: argocd
|
||||
|
||||
resources:
|
||||
- project.yaml
|
||||
- app-deltahouse.yaml
|
||||
20
apps/delta/project.yaml
Normal file
20
apps/delta/project.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: AppProject
|
||||
metadata:
|
||||
name: delta
|
||||
namespace: argocd
|
||||
spec:
|
||||
sourceNamespaces:
|
||||
- '*'
|
||||
sourceRepos:
|
||||
- 'https://github.com/vehagn/*'
|
||||
destinations:
|
||||
- namespace: 'argocd'
|
||||
server: '*'
|
||||
- namespace: 'delta'
|
||||
server: '*'
|
||||
- namespace: 'delta-test'
|
||||
server: '*'
|
||||
clusterResourceWhitelist:
|
||||
- group: '*'
|
||||
kind: '*'
|
||||
Reference in New Issue
Block a user