From ca9a3611ce90fe6ca970fb7f787c3ce57d8c2fd7 Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Sun, 3 Jul 2022 18:08:12 +0100 Subject: [PATCH] basic: raise kustomization intervals --- basic/clusters/production/gitea-kustomization.yaml | 2 +- basic/clusters/production/infrastructure-kustomization.yaml | 2 +- basic/clusters/production/suitecrm-kustomization.yaml | 2 +- basic/clusters/production/vikunja-kustomization.yaml | 2 +- basic/infrastructure/sources/gitea.yaml | 2 +- basic/infrastructure/sources/k8s-at-home.yaml | 2 +- basic/install.sh | 4 ++-- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/basic/clusters/production/gitea-kustomization.yaml b/basic/clusters/production/gitea-kustomization.yaml index 19ed631..8e9728f 100644 --- a/basic/clusters/production/gitea-kustomization.yaml +++ b/basic/clusters/production/gitea-kustomization.yaml @@ -5,7 +5,7 @@ metadata: name: gitea namespace: flux-system spec: - interval: 5m + interval: 30m wait: true timeout: 12h dependsOn: diff --git a/basic/clusters/production/infrastructure-kustomization.yaml b/basic/clusters/production/infrastructure-kustomization.yaml index c6a75b5..17f7321 100644 --- a/basic/clusters/production/infrastructure-kustomization.yaml +++ b/basic/clusters/production/infrastructure-kustomization.yaml @@ -4,7 +4,7 @@ metadata: name: sources namespace: flux-system spec: - interval: 5m + interval: 30m sourceRef: kind: GitRepository name: stackspout diff --git a/basic/clusters/production/suitecrm-kustomization.yaml b/basic/clusters/production/suitecrm-kustomization.yaml index b523583..6563379 100644 --- a/basic/clusters/production/suitecrm-kustomization.yaml +++ b/basic/clusters/production/suitecrm-kustomization.yaml @@ -5,7 +5,7 @@ metadata: name: suitecrm namespace: flux-system spec: - interval: 5m + interval: 30m wait: true timeout: 12h dependsOn: diff --git a/basic/clusters/production/vikunja-kustomization.yaml b/basic/clusters/production/vikunja-kustomization.yaml index 3493ad5..05e3f84 100644 --- a/basic/clusters/production/vikunja-kustomization.yaml +++ b/basic/clusters/production/vikunja-kustomization.yaml @@ -5,7 +5,7 @@ metadata: name: vikunja namespace: flux-system spec: - interval: 5m + interval: 30m wait: true timeout: 300m dependsOn: diff --git a/basic/infrastructure/sources/gitea.yaml b/basic/infrastructure/sources/gitea.yaml index bde72ba..1ab8d38 100644 --- a/basic/infrastructure/sources/gitea.yaml +++ b/basic/infrastructure/sources/gitea.yaml @@ -4,5 +4,5 @@ metadata: name: gitea namespace: flux-system spec: - interval: 10m + interval: 60m url: https://dl.gitea.io/charts/ diff --git a/basic/infrastructure/sources/k8s-at-home.yaml b/basic/infrastructure/sources/k8s-at-home.yaml index e7f578e..d504c92 100644 --- a/basic/infrastructure/sources/k8s-at-home.yaml +++ b/basic/infrastructure/sources/k8s-at-home.yaml @@ -5,5 +5,5 @@ metadata: name: k8s-at-home namespace: flux-system spec: - interval: 10m + interval: 60m url: https://k8s-at-home.com/charts/ diff --git a/basic/install.sh b/basic/install.sh index db3690b..232a183 100755 --- a/basic/install.sh +++ b/basic/install.sh @@ -6,14 +6,14 @@ echo "Creating / updating gitRepository stackspout in namespace stackspout" flux create source git stackspout \ --url=https://open.greenhost.net/xeruf/stackspout.git \ --branch=main \ - --interval=3m + --interval=5m echo "Creating / updating kustomization stackspout in namespace stackspout" flux create kustomization stackspout \ --source=GitRepository/stackspout \ --path="./basic/clusters/production/" \ --prune=true \ - --interval=3m + --interval=30m python $STACKSPIN/install/generate_secrets.py vikunja python $STACKSPIN/install/generate_secrets.py gitea