feat(grainlab): Added Production App defs.
This commit is contained in:
17
clusters/artemis/apps/grainlab-production/app-project.yaml
Normal file
17
clusters/artemis/apps/grainlab-production/app-project.yaml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
---
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: AppProject
|
||||||
|
metadata:
|
||||||
|
name: grainlab-production
|
||||||
|
spec:
|
||||||
|
description: GrianLab Production environment
|
||||||
|
sourceRepos:
|
||||||
|
- '*'
|
||||||
|
sourceNamespaces:
|
||||||
|
- '*'
|
||||||
|
destinations:
|
||||||
|
- namespace: 'grainlab-production'
|
||||||
|
server: '*'
|
||||||
|
clusterResourceWhitelist:
|
||||||
|
- group: '*'
|
||||||
|
kind: '*'
|
||||||
24
clusters/artemis/apps/grainlab-production/application.yaml
Normal file
24
clusters/artemis/apps/grainlab-production/application.yaml
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: grainlab-production
|
||||||
|
namespace: grainlab-production
|
||||||
|
labels:
|
||||||
|
platform.dgse.cloud/cluster: artemis
|
||||||
|
finalizers:
|
||||||
|
- resources-finalizer.argocd.argoproj.io
|
||||||
|
spec:
|
||||||
|
project: grainlab-production
|
||||||
|
source:
|
||||||
|
repoURL: 'https://git.dgse.cloud/DGSE/kubernetes.git'
|
||||||
|
path: manifests/artemis/grainlab-production
|
||||||
|
targetRevision: main
|
||||||
|
destination:
|
||||||
|
namespace: grainlab-production
|
||||||
|
name: in-cluster
|
||||||
|
syncPolicy:
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
|
||||||
|
resources:
|
||||||
|
- app-project.yaml
|
||||||
|
- application.yaml
|
||||||
@@ -18,3 +18,4 @@ resources:
|
|||||||
- digital-garden
|
- digital-garden
|
||||||
- homebox
|
- homebox
|
||||||
- grainlab-staging
|
- grainlab-staging
|
||||||
|
- grainlab-production
|
||||||
|
|||||||
Reference in New Issue
Block a user