From ca781529ea5f7100b065b54f5d93bb54593ca109 Mon Sep 17 00:00:00 2001
From: MiD10 <md10.hfl@gmail.com>
Date: Tue, 3 Dec 2024 22:54:59 +0800
Subject: [PATCH] to https://github.com/kubevela/catalog/issues/767, reverse
 pullInterval and interval in helmrelease

---
 addons/fluxcd/definitions/helm-release-def.cue | 4 ++--
 addons/fluxcd/metadata.yaml                    | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/addons/fluxcd/definitions/helm-release-def.cue b/addons/fluxcd/definitions/helm-release-def.cue
index 00727343..a06b75a8 100644
--- a/addons/fluxcd/definitions/helm-release-def.cue
+++ b/addons/fluxcd/definitions/helm-release-def.cue
@@ -133,7 +133,7 @@ template: {
 		}
 		spec: {
 			timeout:  parameter.installTimeout
-			interval: parameter.pullInterval
+			interval: parameter.interval
 			chart: {
 				spec: {
 					chart:   parameter.chart
@@ -155,7 +155,7 @@ template: {
 							name: parameter.sourceName
 						}
 					}
-					interval: parameter.interval
+					interval: parameter.pullInterval
 					if parameter["valuesFiles"] != _|_ {
 						valuesFiles: parameter["valuesFiles"]
 					}
diff --git a/addons/fluxcd/metadata.yaml b/addons/fluxcd/metadata.yaml
index 0359a824..410849f4 100644
--- a/addons/fluxcd/metadata.yaml
+++ b/addons/fluxcd/metadata.yaml
@@ -1,5 +1,5 @@
 name: fluxcd
-version: 3.0.0
+version: 3.0.1
 description: Extended workload to do continuous and progressive delivery
 icon: https://raw.githubusercontent.com/cncf/artwork/master/projects/flux/horizontal/color/flux-horizontal-color.png
 url: https://fluxcd.io