From 98f856811d424340e2da02ad21008ba6af9fed60 Mon Sep 17 00:00:00 2001 From: Leonardo Fagundes Luz Serrano Date: Wed, 7 Dec 2022 15:08:32 -0300 Subject: [PATCH] appfwk: set flux reconciliation interval to 1m Set reconciliation interval for all flux helm resources to 1m to allow it to manage resources by itself in a reasonable time interval. Test Plan (tested as part of [1]): PASS: bootstrap PASS: unlocked enabled available PASS: apps applied PASS: inspect flux pod logs for errors PASS: re-test known trigger for 1996747 and 1995748 PASS: re-test known trigger 1997368 [1] https://review.opendev.org/c/starlingx/config/+/866862 Partial-Bug: 1999032 Signed-off-by: Leonardo Fagundes Luz Serrano Change-Id: I514c719106ca7cff29bbf75a09f45fb6e4fb6366 --- .../fluxcd-manifests/base/helmrepository.yaml | 2 +- .../fluxcd-manifests/portieris-certs/helmrelease.yaml | 2 +- .../fluxcd-manifests/portieris-psp-rolebinding/helmrelease.yaml | 2 +- .../fluxcd-manifests/portieris/helmrelease.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/stx-portieris-helm/stx-portieris-helm/fluxcd-manifests/base/helmrepository.yaml b/stx-portieris-helm/stx-portieris-helm/fluxcd-manifests/base/helmrepository.yaml index 4c4adfe..0276724 100644 --- a/stx-portieris-helm/stx-portieris-helm/fluxcd-manifests/base/helmrepository.yaml +++ b/stx-portieris-helm/stx-portieris-helm/fluxcd-manifests/base/helmrepository.yaml @@ -10,4 +10,4 @@ metadata: name: stx-platform spec: url: http://192.168.206.1:8080/helm_charts/stx-platform - interval: 60m + interval: 1m diff --git a/stx-portieris-helm/stx-portieris-helm/fluxcd-manifests/portieris-certs/helmrelease.yaml b/stx-portieris-helm/stx-portieris-helm/fluxcd-manifests/portieris-certs/helmrelease.yaml index 714e4d4..0f46567 100644 --- a/stx-portieris-helm/stx-portieris-helm/fluxcd-manifests/portieris-certs/helmrelease.yaml +++ b/stx-portieris-helm/stx-portieris-helm/fluxcd-manifests/portieris-certs/helmrelease.yaml @@ -19,7 +19,7 @@ spec: sourceRef: kind: HelmRepository name: stx-platform - interval: 5m + interval: 1m timeout: 30m test: enable: false diff --git a/stx-portieris-helm/stx-portieris-helm/fluxcd-manifests/portieris-psp-rolebinding/helmrelease.yaml b/stx-portieris-helm/stx-portieris-helm/fluxcd-manifests/portieris-psp-rolebinding/helmrelease.yaml index 84f6260..9981f60 100644 --- a/stx-portieris-helm/stx-portieris-helm/fluxcd-manifests/portieris-psp-rolebinding/helmrelease.yaml +++ b/stx-portieris-helm/stx-portieris-helm/fluxcd-manifests/portieris-psp-rolebinding/helmrelease.yaml @@ -19,7 +19,7 @@ spec: sourceRef: kind: HelmRepository name: stx-platform - interval: 5m + interval: 1m timeout: 30m test: enable: false diff --git a/stx-portieris-helm/stx-portieris-helm/fluxcd-manifests/portieris/helmrelease.yaml b/stx-portieris-helm/stx-portieris-helm/fluxcd-manifests/portieris/helmrelease.yaml index 975902f..5773896 100644 --- a/stx-portieris-helm/stx-portieris-helm/fluxcd-manifests/portieris/helmrelease.yaml +++ b/stx-portieris-helm/stx-portieris-helm/fluxcd-manifests/portieris/helmrelease.yaml @@ -19,7 +19,7 @@ spec: sourceRef: kind: HelmRepository name: stx-platform - interval: 5m + interval: 1m timeout: 30m test: enable: false