From 607632ed3bf7a5a6e80d02cd7d38aac01b1f7b4b Mon Sep 17 00:00:00 2001 From: Leonardo Fagundes Luz Serrano Date: Wed, 7 Dec 2022 15:04:28 -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: I569dd18b1b8e063197fab0663298f3b808908b9f --- .../stx-audit-helm/fluxcd-manifests/auditd/helmrelease.yaml | 2 +- .../stx-audit-helm/fluxcd-manifests/base/helmrepository.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stx-audit-helm/stx-audit-helm/fluxcd-manifests/auditd/helmrelease.yaml b/stx-audit-helm/stx-audit-helm/fluxcd-manifests/auditd/helmrelease.yaml index 93077a0..ee0dfb9 100644 --- a/stx-audit-helm/stx-audit-helm/fluxcd-manifests/auditd/helmrelease.yaml +++ b/stx-audit-helm/stx-audit-helm/fluxcd-manifests/auditd/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-audit-helm/stx-audit-helm/fluxcd-manifests/base/helmrepository.yaml b/stx-audit-helm/stx-audit-helm/fluxcd-manifests/base/helmrepository.yaml index a42406a..75b4d46 100644 --- a/stx-audit-helm/stx-audit-helm/fluxcd-manifests/base/helmrepository.yaml +++ b/stx-audit-helm/stx-audit-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: 5m # interval to check the repository for updates + interval: 1m # interval to check the repository for updates