From e138059c1ef4843316431535649cc1dfadf1a328 Mon Sep 17 00:00:00 2001
From: Varac <varac@varac.net>
Date: Thu, 24 Jun 2021 21:31:51 +0200
Subject: [PATCH] Increase all pull intervals to 1h

---
 flux2/apps/monitoring/eventrouter-release.yaml           | 2 +-
 flux2/apps/monitoring/kube-prometheus-stack-release.yaml | 2 +-
 flux2/apps/monitoring/loki-release.yaml                  | 2 +-
 flux2/apps/monitoring/promtail-release.yaml              | 2 +-
 flux2/apps/nextcloud/release.yaml                        | 2 +-
 flux2/apps/rocketchat/release.yaml                       | 2 +-
 flux2/apps/velero/release.yaml                           | 2 +-
 flux2/apps/wordpress/release.yaml                        | 2 +-
 flux2/cluster/base/core.yaml                             | 2 +-
 flux2/cluster/base/infrastructure.yaml                   | 2 +-
 flux2/cluster/base/monitoring.yaml                       | 2 +-
 flux2/cluster/optional/nextcloud/nextcloud.yaml          | 2 +-
 flux2/cluster/optional/rocketchat/rocketchat.yaml        | 2 +-
 flux2/cluster/optional/velero/velero.yaml                | 2 +-
 flux2/cluster/optional/wordpress/wordpress.yaml          | 2 +-
 flux2/cluster/test/all-optional.yaml                     | 2 +-
 flux2/cluster/test/base.yaml                             | 2 +-
 flux2/core/base/metallb/release.yaml                     | 2 +-
 flux2/infrastructure/sources/bitnami.yaml                | 4 ++--
 flux2/infrastructure/sources/grafana.yaml                | 4 ++--
 flux2/infrastructure/sources/helm-stable.yaml            | 2 +-
 flux2/infrastructure/sources/prometheus-community.yaml   | 4 ++--
 flux2/infrastructure/sources/vmware-tanzu.yaml           | 4 ++--
 install/install-nextcloud.sh                             | 2 +-
 install/install-openappstack.sh                          | 2 +-
 install/install-rocketchat.sh                            | 2 +-
 install/install-velero.sh                                | 2 +-
 install/install-wordpress.sh                             | 2 +-
 28 files changed, 32 insertions(+), 32 deletions(-)

diff --git a/flux2/apps/monitoring/eventrouter-release.yaml b/flux2/apps/monitoring/eventrouter-release.yaml
index 1f0ac13c9..3d05118c6 100644
--- a/flux2/apps/monitoring/eventrouter-release.yaml
+++ b/flux2/apps/monitoring/eventrouter-release.yaml
@@ -14,7 +14,7 @@ spec:
         kind: HelmRepository
         name: helm-stable
         namespace: flux-system
-  interval: 40m
+  interval: 1h
   values:
     sink: stdout
     resources:
diff --git a/flux2/apps/monitoring/kube-prometheus-stack-release.yaml b/flux2/apps/monitoring/kube-prometheus-stack-release.yaml
index a12ee17aa..cb5781e71 100644
--- a/flux2/apps/monitoring/kube-prometheus-stack-release.yaml
+++ b/flux2/apps/monitoring/kube-prometheus-stack-release.yaml
@@ -14,7 +14,7 @@ spec:
         kind: HelmRepository
         name: prometheus-community
         namespace: flux-system
-  interval: 40m
+  interval: 1h
   install:
     timeout: 10m
   values:
diff --git a/flux2/apps/monitoring/loki-release.yaml b/flux2/apps/monitoring/loki-release.yaml
index b40528397..e303913ad 100644
--- a/flux2/apps/monitoring/loki-release.yaml
+++ b/flux2/apps/monitoring/loki-release.yaml
@@ -15,7 +15,7 @@ spec:
         kind: HelmRepository
         name: grafana
         namespace: flux-system
-  interval: 40m
+  interval: 1h
   values:
     # https://github.com/grafana/helm-charts/blob/main/charts/loki/values.yaml
     resources:
diff --git a/flux2/apps/monitoring/promtail-release.yaml b/flux2/apps/monitoring/promtail-release.yaml
index 2d64faf3f..2b10aaafa 100644
--- a/flux2/apps/monitoring/promtail-release.yaml
+++ b/flux2/apps/monitoring/promtail-release.yaml
@@ -14,7 +14,7 @@ spec:
         kind: HelmRepository
         name: grafana
         namespace: flux-system
-  interval: 40m
+  interval: 1h
   values:
     initContainer:
       enabled: true
diff --git a/flux2/apps/nextcloud/release.yaml b/flux2/apps/nextcloud/release.yaml
index 6061b8e9e..31a7b8d5f 100644
--- a/flux2/apps/nextcloud/release.yaml
+++ b/flux2/apps/nextcloud/release.yaml
@@ -14,7 +14,7 @@ spec:
         kind: GitRepository
         name: nextcloud
         namespace: flux-system
-  interval: 40m
+  interval: 1h
   install:
     timeout: 30m
   values:
diff --git a/flux2/apps/rocketchat/release.yaml b/flux2/apps/rocketchat/release.yaml
index 627cf6a5e..2b66ad935 100644
--- a/flux2/apps/rocketchat/release.yaml
+++ b/flux2/apps/rocketchat/release.yaml
@@ -14,7 +14,7 @@ spec:
         kind: HelmRepository
         name: helm-stable
         namespace: flux-system
-  interval: 20m
+  interval: 1h
   install:
     timeout: 15m
   values:
diff --git a/flux2/apps/velero/release.yaml b/flux2/apps/velero/release.yaml
index 07a2fdd0f..969fc7f20 100644
--- a/flux2/apps/velero/release.yaml
+++ b/flux2/apps/velero/release.yaml
@@ -14,7 +14,7 @@ spec:
         kind: HelmRepository
         name: vmware-tanzu
         namespace: flux-system
-  interval: 40m
+  interval: 1h
   values:
     # Init containers to add to the Velero deployment's pod spec. At least one
     # plugin provider image is required.
diff --git a/flux2/apps/wordpress/release.yaml b/flux2/apps/wordpress/release.yaml
index 39552985d..a6779291e 100644
--- a/flux2/apps/wordpress/release.yaml
+++ b/flux2/apps/wordpress/release.yaml
@@ -14,7 +14,7 @@ spec:
         kind: GitRepository
         name: wordpress
         namespace: flux-system
-  interval: 40m
+  interval: 1h
   install:
     timeout: 30m
   values:
diff --git a/flux2/cluster/base/core.yaml b/flux2/cluster/base/core.yaml
index 830a26644..169fadf0e 100644
--- a/flux2/cluster/base/core.yaml
+++ b/flux2/cluster/base/core.yaml
@@ -6,7 +6,7 @@ metadata:
 spec:
   dependsOn:
     - name: infrastructure
-  interval: 1m0s
+  interval: 1h
   sourceRef:
     kind: GitRepository
     name: openappstack
diff --git a/flux2/cluster/base/infrastructure.yaml b/flux2/cluster/base/infrastructure.yaml
index aa1dbd493..468a5f046 100644
--- a/flux2/cluster/base/infrastructure.yaml
+++ b/flux2/cluster/base/infrastructure.yaml
@@ -5,7 +5,7 @@ metadata:
   name: infrastructure
   namespace: flux-system
 spec:
-  interval: 10m
+  interval: 1h
   sourceRef:
     kind: GitRepository
     name: openappstack
diff --git a/flux2/cluster/base/monitoring.yaml b/flux2/cluster/base/monitoring.yaml
index 930ab2d2f..b8cf3c73d 100644
--- a/flux2/cluster/base/monitoring.yaml
+++ b/flux2/cluster/base/monitoring.yaml
@@ -5,7 +5,7 @@ metadata:
   name: monitoring
   namespace: flux-system
 spec:
-  interval: 45m
+  interval: 1h
   dependsOn:
     - name: core
     - name: infrastructure
diff --git a/flux2/cluster/optional/nextcloud/nextcloud.yaml b/flux2/cluster/optional/nextcloud/nextcloud.yaml
index ed6a58caa..e09fbd14a 100644
--- a/flux2/cluster/optional/nextcloud/nextcloud.yaml
+++ b/flux2/cluster/optional/nextcloud/nextcloud.yaml
@@ -5,7 +5,7 @@ metadata:
   name: nextcloud
   namespace: flux-system
 spec:
-  interval: 45m
+  interval: 1h
   dependsOn:
     - name: core
     - name: infrastructure
diff --git a/flux2/cluster/optional/rocketchat/rocketchat.yaml b/flux2/cluster/optional/rocketchat/rocketchat.yaml
index 080cbd554..c3cd0c2d6 100644
--- a/flux2/cluster/optional/rocketchat/rocketchat.yaml
+++ b/flux2/cluster/optional/rocketchat/rocketchat.yaml
@@ -5,7 +5,7 @@ metadata:
   name: rocketchat
   namespace: flux-system
 spec:
-  interval: 10m0s
+  interval: 1h
   dependsOn:
     - name: core
     - name: infrastructure
diff --git a/flux2/cluster/optional/velero/velero.yaml b/flux2/cluster/optional/velero/velero.yaml
index c89ad010b..ac4464034 100644
--- a/flux2/cluster/optional/velero/velero.yaml
+++ b/flux2/cluster/optional/velero/velero.yaml
@@ -5,7 +5,7 @@ metadata:
   name: velero
   namespace: flux-system
 spec:
-  interval: 45m
+  interval: 1h
   dependsOn:
     - name: core
     - name: infrastructure
diff --git a/flux2/cluster/optional/wordpress/wordpress.yaml b/flux2/cluster/optional/wordpress/wordpress.yaml
index 6fc4bc4df..f6017a099 100644
--- a/flux2/cluster/optional/wordpress/wordpress.yaml
+++ b/flux2/cluster/optional/wordpress/wordpress.yaml
@@ -5,7 +5,7 @@ metadata:
   name: wordpress
   namespace: flux-system
 spec:
-  interval: 45m
+  interval: 1h
   dependsOn:
     - name: core
     - name: infrastructure
diff --git a/flux2/cluster/test/all-optional.yaml b/flux2/cluster/test/all-optional.yaml
index d24d824c5..144b75ec3 100644
--- a/flux2/cluster/test/all-optional.yaml
+++ b/flux2/cluster/test/all-optional.yaml
@@ -7,7 +7,7 @@ metadata:
 spec:
   dependsOn:
     - name: base
-  interval: 10m0s
+  interval: 1h
   sourceRef:
     kind: GitRepository
     name: openappstack
diff --git a/flux2/cluster/test/base.yaml b/flux2/cluster/test/base.yaml
index e185ff1e9..8daf42ce5 100644
--- a/flux2/cluster/test/base.yaml
+++ b/flux2/cluster/test/base.yaml
@@ -5,7 +5,7 @@ metadata:
   name: base
   namespace: flux-system
 spec:
-  interval: 10m0s
+  interval: 1h
   sourceRef:
     kind: GitRepository
     name: openappstack
diff --git a/flux2/core/base/metallb/release.yaml b/flux2/core/base/metallb/release.yaml
index 00e84c213..e1d754c63 100644
--- a/flux2/core/base/metallb/release.yaml
+++ b/flux2/core/base/metallb/release.yaml
@@ -14,7 +14,7 @@ spec:
         kind: HelmRepository
         name: bitnami
         namespace: flux-system
-  interval: 40m
+  interval: 1h
   install:
     timeout: 2m
   values:
diff --git a/flux2/infrastructure/sources/bitnami.yaml b/flux2/infrastructure/sources/bitnami.yaml
index fc43978de..87a14bf7e 100644
--- a/flux2/infrastructure/sources/bitnami.yaml
+++ b/flux2/infrastructure/sources/bitnami.yaml
@@ -4,5 +4,5 @@ kind: HelmRepository
 metadata:
   name: bitnami
 spec:
-  interval: 5m
-  url: https://charts.bitnami.com/bitnami
\ No newline at end of file
+  interval: 1h
+  url: https://charts.bitnami.com/bitnami
diff --git a/flux2/infrastructure/sources/grafana.yaml b/flux2/infrastructure/sources/grafana.yaml
index a31873aba..642e4ddf4 100644
--- a/flux2/infrastructure/sources/grafana.yaml
+++ b/flux2/infrastructure/sources/grafana.yaml
@@ -4,5 +4,5 @@ kind: HelmRepository
 metadata:
   name: grafana
 spec:
-  interval: 5m
-  url: https://grafana.github.io/helm-charts
\ No newline at end of file
+  interval: 1h
+  url: https://grafana.github.io/helm-charts
diff --git a/flux2/infrastructure/sources/helm-stable.yaml b/flux2/infrastructure/sources/helm-stable.yaml
index 937aa3139..aa6f80a82 100644
--- a/flux2/infrastructure/sources/helm-stable.yaml
+++ b/flux2/infrastructure/sources/helm-stable.yaml
@@ -4,5 +4,5 @@ kind: HelmRepository
 metadata:
   name: helm-stable
 spec:
-  interval: 5m
+  interval: 1h
   url: https://charts.helm.sh/stable
diff --git a/flux2/infrastructure/sources/prometheus-community.yaml b/flux2/infrastructure/sources/prometheus-community.yaml
index 101e68de3..76348e942 100644
--- a/flux2/infrastructure/sources/prometheus-community.yaml
+++ b/flux2/infrastructure/sources/prometheus-community.yaml
@@ -4,5 +4,5 @@ kind: HelmRepository
 metadata:
   name: prometheus-community
 spec:
-  interval: 5m
-  url: https://prometheus-community.github.io/helm-charts
\ No newline at end of file
+  interval: 1h
+  url: https://prometheus-community.github.io/helm-charts
diff --git a/flux2/infrastructure/sources/vmware-tanzu.yaml b/flux2/infrastructure/sources/vmware-tanzu.yaml
index b3d1aeced..e2dd4fe69 100644
--- a/flux2/infrastructure/sources/vmware-tanzu.yaml
+++ b/flux2/infrastructure/sources/vmware-tanzu.yaml
@@ -4,5 +4,5 @@ kind: HelmRepository
 metadata:
   name: vmware-tanzu
 spec:
-  interval: 5m
-  url: https://vmware-tanzu.github.io/helm-charts
\ No newline at end of file
+  interval: 1h
+  url: https://vmware-tanzu.github.io/helm-charts
diff --git a/install/install-nextcloud.sh b/install/install-nextcloud.sh
index b1a296164..3714658b1 100755
--- a/install/install-nextcloud.sh
+++ b/install/install-nextcloud.sh
@@ -13,4 +13,4 @@ flux create kustomization add-nextcloud \
   --source=GitRepository/openappstack \
   --path="./flux2/cluster/optional/nextcloud" \
   --prune=true \
-  --interval=10m
+  --interval=1h
diff --git a/install/install-openappstack.sh b/install/install-openappstack.sh
index 2071c1237..233d690e3 100755
--- a/install/install-openappstack.sh
+++ b/install/install-openappstack.sh
@@ -22,4 +22,4 @@ flux create kustomization openappstack \
   --source=GitRepository/openappstack \
   --path="./flux2/cluster/base" \
   --prune=true \
-  --interval=10m
+  --interval=1h
diff --git a/install/install-rocketchat.sh b/install/install-rocketchat.sh
index a0364c459..bbf145ead 100755
--- a/install/install-rocketchat.sh
+++ b/install/install-rocketchat.sh
@@ -10,4 +10,4 @@ flux create kustomization add-rocketchat \
   --source=GitRepository/openappstack \
   --path="./flux2/cluster/optional/rocketchat" \
   --prune=true \
-  --interval=10m
+  --interval=1h
diff --git a/install/install-velero.sh b/install/install-velero.sh
index 3b85c1f77..ade3b6f1e 100755
--- a/install/install-velero.sh
+++ b/install/install-velero.sh
@@ -10,4 +10,4 @@ flux create kustomization add-velero \
   --source=GitRepository/openappstack \
   --path="./flux2/cluster/optional/velero" \
   --prune=true \
-  --interval=10m
+  --interval=1h
diff --git a/install/install-wordpress.sh b/install/install-wordpress.sh
index 2db41fdd6..b734bf600 100755
--- a/install/install-wordpress.sh
+++ b/install/install-wordpress.sh
@@ -10,4 +10,4 @@ flux create kustomization add-wordpress \
   --source=GitRepository/openappstack \
   --path="./flux2/cluster/optional/wordpress" \
   --prune=true \
-  --interval=10m
+  --interval=1h
-- 
GitLab