From 0c1e58da7515e65dd036e9506e8adc7213cc8cfb Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Tue, 12 Jul 2022 22:45:06 +0100 Subject: [PATCH] kustomizations: add short retryInterval --- basic/infrastructure/kustomizations/gitea-kustomization.yaml | 3 ++- basic/infrastructure/kustomizations/kimai-kustomization.yaml | 3 ++- .../infrastructure/kustomizations/namespace-kustomization.yaml | 3 ++- basic/infrastructure/kustomizations/sources-kustomization.yaml | 3 ++- .../infrastructure/kustomizations/suitecrm-kustomization.yaml | 3 ++- basic/infrastructure/kustomizations/vikunja-kustomization.yaml | 3 ++- basic/install.sh | 2 +- 7 files changed, 13 insertions(+), 7 deletions(-) diff --git a/basic/infrastructure/kustomizations/gitea-kustomization.yaml b/basic/infrastructure/kustomizations/gitea-kustomization.yaml index 89c6860..5a2510f 100644 --- a/basic/infrastructure/kustomizations/gitea-kustomization.yaml +++ b/basic/infrastructure/kustomizations/gitea-kustomization.yaml @@ -4,7 +4,8 @@ metadata: name: gitea namespace: flux-system spec: - interval: 5m + interval: 10m + retryInterval: 1m wait: true timeout: 1h dependsOn: diff --git a/basic/infrastructure/kustomizations/kimai-kustomization.yaml b/basic/infrastructure/kustomizations/kimai-kustomization.yaml index 421c437..e856574 100644 --- a/basic/infrastructure/kustomizations/kimai-kustomization.yaml +++ b/basic/infrastructure/kustomizations/kimai-kustomization.yaml @@ -4,7 +4,8 @@ metadata: name: kimai namespace: flux-system spec: - interval: 5m + interval: 10m + retryInterval: 1m wait: true timeout: 1h dependsOn: diff --git a/basic/infrastructure/kustomizations/namespace-kustomization.yaml b/basic/infrastructure/kustomizations/namespace-kustomization.yaml index e4c685f..5f8b5bf 100644 --- a/basic/infrastructure/kustomizations/namespace-kustomization.yaml +++ b/basic/infrastructure/kustomizations/namespace-kustomization.yaml @@ -4,7 +4,8 @@ metadata: name: stackspout-namespace namespace: flux-system spec: - interval: 5m + interval: 10m + retryInterval: 1m sourceRef: kind: GitRepository name: stackspout diff --git a/basic/infrastructure/kustomizations/sources-kustomization.yaml b/basic/infrastructure/kustomizations/sources-kustomization.yaml index aeba289..7b87e7f 100644 --- a/basic/infrastructure/kustomizations/sources-kustomization.yaml +++ b/basic/infrastructure/kustomizations/sources-kustomization.yaml @@ -4,7 +4,8 @@ metadata: name: stackspout-sources namespace: flux-system spec: - interval: 5m + interval: 10m + retryInterval: 1m sourceRef: kind: GitRepository name: stackspout diff --git a/basic/infrastructure/kustomizations/suitecrm-kustomization.yaml b/basic/infrastructure/kustomizations/suitecrm-kustomization.yaml index dc31eff..52d4e1a 100644 --- a/basic/infrastructure/kustomizations/suitecrm-kustomization.yaml +++ b/basic/infrastructure/kustomizations/suitecrm-kustomization.yaml @@ -4,7 +4,8 @@ metadata: name: suitecrm namespace: flux-system spec: - interval: 5m + interval: 10m + retryInterval: 1m wait: true timeout: 1h #dependsOn: diff --git a/basic/infrastructure/kustomizations/vikunja-kustomization.yaml b/basic/infrastructure/kustomizations/vikunja-kustomization.yaml index ce7dee3..aaee892 100644 --- a/basic/infrastructure/kustomizations/vikunja-kustomization.yaml +++ b/basic/infrastructure/kustomizations/vikunja-kustomization.yaml @@ -5,7 +5,8 @@ metadata: name: vikunja namespace: flux-system spec: - interval: 5m + interval: 10m + retryInterval: 1m wait: true timeout: 1h dependsOn: diff --git a/basic/install.sh b/basic/install.sh index e9a96a2..ff79ead 100755 --- a/basic/install.sh +++ b/basic/install.sh @@ -13,7 +13,7 @@ flux create kustomization stackspout \ --source=GitRepository/stackspout \ --path="./basic/infrastructure/kustomizations/" \ --prune=true \ - --interval=30m + --interval=5m python $(dirname "$0")/../generate_secrets.py vikunja python $(dirname "$0")/../generate_secrets.py gitea