feat(grainlab): Added Staging environment to ArgoCD.

This commit is contained in:
Daniël Groothuis
2026-03-17 09:28:04 +01:00
parent 62ba062784
commit ccb968f726
9 changed files with 169 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
---
apiVersion: argoproj.io/v1alpha1
kind: AppProject
metadata:
name: grainlab-staging
spec:
description: GrianLab Staging environment
sourceRepos:
- '*'
sourceNamespaces:
- '*'
destinations:
- namespace: 'grainlab-staging'
server: '*'
clusterResourceWhitelist:
- group: '*'
kind: '*'

View File

@@ -0,0 +1,24 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: grainlab-staging
namespace: grainlab-staging
labels:
platform.dgse.cloud/cluster: artemis
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: homebox
source:
repoURL: 'https://git.dgse.cloud/DGSE/kubernetes.git'
path: manifests/artemis/grainlab-staging
targetRevision: staging
destination:
namespace: grainlab-staging
name: in-cluster
syncPolicy:
syncOptions:
- CreateNamespace=true
automated:
prune: true
selfHeal: true

View File

@@ -0,0 +1,7 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- app-project.yaml
- application.yaml

View File

@@ -17,3 +17,4 @@ resources:
- immich
- digital-garden
- homebox
- grainlab-staging