diff --git a/clusters/artemis/apps/grainlab-production/app-project.yaml b/clusters/artemis/apps/grainlab-production/app-project.yaml new file mode 100644 index 0000000..f7d3119 --- /dev/null +++ b/clusters/artemis/apps/grainlab-production/app-project.yaml @@ -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: '*' diff --git a/clusters/artemis/apps/grainlab-production/application.yaml b/clusters/artemis/apps/grainlab-production/application.yaml new file mode 100644 index 0000000..7794dcb --- /dev/null +++ b/clusters/artemis/apps/grainlab-production/application.yaml @@ -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 diff --git a/clusters/artemis/apps/grainlab-production/kustomization.yaml b/clusters/artemis/apps/grainlab-production/kustomization.yaml new file mode 100644 index 0000000..f9b2a4b --- /dev/null +++ b/clusters/artemis/apps/grainlab-production/kustomization.yaml @@ -0,0 +1,7 @@ +--- +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + +resources: + - app-project.yaml + - application.yaml diff --git a/clusters/artemis/apps/kustomization.yaml b/clusters/artemis/apps/kustomization.yaml index 9568a5f..9f88dc3 100644 --- a/clusters/artemis/apps/kustomization.yaml +++ b/clusters/artemis/apps/kustomization.yaml @@ -18,3 +18,4 @@ resources: - digital-garden - homebox - grainlab-staging + - grainlab-production