From 6b9dcc718a8073f4bfd4c59cb54dc24e7275c1c3 Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Tue, 5 Jul 2022 11:58:05 +0100 Subject: [PATCH] production: reenable app kustomization --- .../production/gitea-kustomization.yaml | 25 +++++++++++++++++++ .../production/suitecrm-kustomization.yaml | 25 +++++++++++++++++++ .../production/vikunja-kustomization.yaml | 25 +++++++++++++++++++ 3 files changed, 75 insertions(+) create mode 100644 basic/clusters/production/gitea-kustomization.yaml create mode 100644 basic/clusters/production/suitecrm-kustomization.yaml create mode 100644 basic/clusters/production/vikunja-kustomization.yaml diff --git a/basic/clusters/production/gitea-kustomization.yaml b/basic/clusters/production/gitea-kustomization.yaml new file mode 100644 index 0000000..be597f9 --- /dev/null +++ b/basic/clusters/production/gitea-kustomization.yaml @@ -0,0 +1,25 @@ +--- +apiVersion: kustomize.toolkit.fluxcd.io/v1beta2 +kind: Kustomization +metadata: + name: gitea + namespace: flux-system +spec: + interval: 30m + wait: true + timeout: 1h + dependsOn: + - name: single-sign-on + sourceRef: + kind: GitRepository + name: stackspout + path: ./basic/apps/dev + prune: true + 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 new file mode 100644 index 0000000..2031f31 --- /dev/null +++ b/basic/clusters/production/suitecrm-kustomization.yaml @@ -0,0 +1,25 @@ +--- +apiVersion: kustomize.toolkit.fluxcd.io/v1beta2 +kind: Kustomization +metadata: + name: suitecrm + namespace: flux-system +spec: + interval: 30m + wait: true + timeout: 1h + dependsOn: + - name: single-sign-on + sourceRef: + kind: GitRepository + name: stackspout + path: ./basic/apps/people + prune: true + 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 new file mode 100644 index 0000000..652067d --- /dev/null +++ b/basic/clusters/production/vikunja-kustomization.yaml @@ -0,0 +1,25 @@ +--- +apiVersion: kustomize.toolkit.fluxcd.io/v1beta2 +kind: Kustomization +metadata: + name: vikunja + namespace: flux-system +spec: + interval: 30m + wait: true + timeout: 1h + dependsOn: + - name: single-sign-on + sourceRef: + kind: GitRepository + name: stackspout + path: ./basic/apps/do + prune: true + postBuild: + substituteFrom: + #- kind: Secret + # name: stackspin-vikunja-variables + - kind: Secret + name: stackspin-vikunja-oauth-variables + - kind: Secret + name: stackspin-cluster-variables