From f4c66b0489bde7ba90457ceb7d2fec38436f1fd6 Mon Sep 17 00:00:00 2001 From: Leonardo Fagundes Luz Serrano Date: Wed, 7 Dec 2022 15:36:35 -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: Ib18917bf18bff5718312ba7dc595d34dad85b6de --- .../fluxcd-manifests/base/helmrepository.yaml | 2 +- .../ptp-notification-psp-rolebinding/helmrelease.yaml | 2 +- .../fluxcd-manifests/ptp-notification/helmrelease.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/stx-ptp-notification-helm/stx-ptp-notification-helm/fluxcd-manifests/base/helmrepository.yaml b/stx-ptp-notification-helm/stx-ptp-notification-helm/fluxcd-manifests/base/helmrepository.yaml index e0df760..75b4d46 100644 --- a/stx-ptp-notification-helm/stx-ptp-notification-helm/fluxcd-manifests/base/helmrepository.yaml +++ b/stx-ptp-notification-helm/stx-ptp-notification-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 to check the repository for updates + interval: 1m # interval to check the repository for updates diff --git a/stx-ptp-notification-helm/stx-ptp-notification-helm/fluxcd-manifests/ptp-notification-psp-rolebinding/helmrelease.yaml b/stx-ptp-notification-helm/stx-ptp-notification-helm/fluxcd-manifests/ptp-notification-psp-rolebinding/helmrelease.yaml index 6a29d81..af510b0 100644 --- a/stx-ptp-notification-helm/stx-ptp-notification-helm/fluxcd-manifests/ptp-notification-psp-rolebinding/helmrelease.yaml +++ b/stx-ptp-notification-helm/stx-ptp-notification-helm/fluxcd-manifests/ptp-notification-psp-rolebinding/helmrelease.yaml @@ -18,7 +18,7 @@ spec: sourceRef: kind: HelmRepository name: stx-platform - interval: 5m + interval: 1m timeout: 30m test: enable: false diff --git a/stx-ptp-notification-helm/stx-ptp-notification-helm/fluxcd-manifests/ptp-notification/helmrelease.yaml b/stx-ptp-notification-helm/stx-ptp-notification-helm/fluxcd-manifests/ptp-notification/helmrelease.yaml index ea622b4..b2eb287 100644 --- a/stx-ptp-notification-helm/stx-ptp-notification-helm/fluxcd-manifests/ptp-notification/helmrelease.yaml +++ b/stx-ptp-notification-helm/stx-ptp-notification-helm/fluxcd-manifests/ptp-notification/helmrelease.yaml @@ -18,7 +18,7 @@ spec: sourceRef: kind: HelmRepository name: stx-platform - interval: 5m + interval: 1m timeout: 30m test: enable: false