Update Flux resource to ensure CR is updated

- Enable FluxCD drift detection
- Enable CRD recreation on upgrade and install

Test Plan:
  - PASS: Upgrade app-kubevirt and verify CR and
    and CRD for cdi have been updated (certconfig.client)

Closes-Bug: 2124972
Change-Id: I428c8dd5a108e30e48b33394cf47db4951330173
Signed-off-by: Aronsky, Gleb <Gleb.Aronsky@windriver.com>
This commit is contained in:
Aronsky, Gleb
2025-09-17 09:10:22 -07:00
parent 6f6e10e9ba
commit d47459d710

View File

@@ -14,6 +14,8 @@ metadata:
labels: labels:
chart_group: starlingx-kubevirt-charts chart_group: starlingx-kubevirt-charts
spec: spec:
driftDetection:
mode: enabled
releaseName: kubevirt-app releaseName: kubevirt-app
chart: chart:
spec: spec:
@@ -28,8 +30,10 @@ spec:
test: test:
enable: false enable: false
install: install:
crds: CreateReplace
disableHooks: false disableHooks: false
upgrade: upgrade:
crds: CreateReplace
disableHooks: false disableHooks: false
valuesFrom: valuesFrom:
- kind: Secret - kind: Secret