From da50e3080b4f418e567145e84f37c8be2fcefa1e Mon Sep 17 00:00:00 2001
From: xeruf <27jf@pm.me>
Date: Mon, 4 Jul 2022 17:29:50 +0100
Subject: [PATCH] production: remove apps to trace namespace deletion

---
 .../production/gitea-kustomization.yaml       | 42 -------------------
 .../production/suitecrm-kustomization.yaml    | 38 -----------------
 .../production/vikunja-kustomization.yaml     | 38 -----------------
 3 files changed, 118 deletions(-)
 delete mode 100644 basic/clusters/production/gitea-kustomization.yaml
 delete mode 100644 basic/clusters/production/suitecrm-kustomization.yaml
 delete mode 100644 basic/clusters/production/vikunja-kustomization.yaml

diff --git a/basic/clusters/production/gitea-kustomization.yaml b/basic/clusters/production/gitea-kustomization.yaml
deleted file mode 100644
index 8e9728f..0000000
--- a/basic/clusters/production/gitea-kustomization.yaml
+++ /dev/null
@@ -1,42 +0,0 @@
----
-apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
-kind: Kustomization
-metadata:
-  name: gitea
-  namespace: flux-system
-spec:
-  interval: 30m
-  wait: true
-  timeout: 12h
-  dependsOn:
-    - name: single-sign-on
-  sourceRef:
-    kind: GitRepository
-    name: stackspout
-  path: ./basic/apps/dev
-  prune: true
-  #healthChecks:
-  #  - apiVersion: helm.toolkit.fluxcd.io/v2beta1
-  #    kind: HelmRelease
-  #    name: gitea
-  #    namespace: stackspout
-  #  - apiVersion: apps/v1
-  #    kind: Deployment
-  #    name: gitea-memcached
-  #    namespace: stackspout
-  #  - apiVersion: apps/v1
-  #    kind: StatefulSet
-  #    name: gitea-postgresql
-  #    namespace: stackspout
-  #  - apiVersion: apps/v1
-  #    kind: StatefulSet
-  #    name: gitea
-  #    namespace: stackspout
-  postBuild:
-    substituteFrom:
-      #- kind: Secret
-      #  name: stackspin-gitea-variables
-      - kind: Secret
-        name: stackspin-gitea-oauth-variables
-      - kind: Secret
-        name: stackspin-cluster-variables
diff --git a/basic/clusters/production/suitecrm-kustomization.yaml b/basic/clusters/production/suitecrm-kustomization.yaml
deleted file mode 100644
index 6563379..0000000
--- a/basic/clusters/production/suitecrm-kustomization.yaml
+++ /dev/null
@@ -1,38 +0,0 @@
----
-apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
-kind: Kustomization
-metadata:
-  name: suitecrm
-  namespace: flux-system
-spec:
-  interval: 30m
-  wait: true
-  timeout: 12h
-  dependsOn:
-    - name: single-sign-on
-  sourceRef:
-    kind: GitRepository
-    name: stackspout
-  path: ./basic/apps/people
-  prune: true
-  #healthChecks:
-  #  - apiVersion: helm.toolkit.fluxcd.io/v2beta1
-  #    kind: HelmRelease
-  #    name: suitecrm
-  #    namespace: stackspout
-  #    #- apiVersion: apps/v1
-  #    #  kind: Deployment
-  #    #  name: suitecrm
-  #    #  namespace: stackspout
-  #  - apiVersion: apps/v1
-  #    kind: StatefulSet
-  #    name: suitecrm-mariadb
-  #    namespace: stackspout
-  postBuild:
-    substituteFrom:
-      #- kind: Secret
-      #  name: stackspin-suitecrm-variables
-      #- kind: Secret
-      #  name: stackspin-suitecrm-oauth-variables
-      - kind: Secret
-        name: stackspin-cluster-variables
diff --git a/basic/clusters/production/vikunja-kustomization.yaml b/basic/clusters/production/vikunja-kustomization.yaml
deleted file mode 100644
index 05e3f84..0000000
--- a/basic/clusters/production/vikunja-kustomization.yaml
+++ /dev/null
@@ -1,38 +0,0 @@
----
-apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
-kind: Kustomization
-metadata:
-  name: vikunja
-  namespace: flux-system
-spec:
-  interval: 30m
-  wait: true
-  timeout: 300m
-  dependsOn:
-    - name: single-sign-on
-  sourceRef:
-    kind: GitRepository
-    name: stackspout
-  path: ./basic/apps/do
-  prune: true
-  #healthChecks:
-  #  - apiVersion: helm.toolkit.fluxcd.io/v2beta1
-  #    kind: HelmRelease
-  #    name: vikunja
-  #    namespace: stackspout
-  #  - apiVersion: apps/v1
-  #    kind: Deployment
-  #    name: vikunja
-  #    namespace: stackspout
-  #  - apiVersion: apps/v1
-  #    kind: StatefulSet
-  #    name: gitea
-  #    namespace: stackspout
-  postBuild:
-    substituteFrom:
-      #- kind: Secret
-      #  name: stackspin-vikunja-variables
-      - kind: Secret
-        name: stackspin-vikunja-oauth-variables
-      - kind: Secret
-        name: stackspin-cluster-variables