From 48a6c73b04b309856b59cc5e597feceb71e043e8 Mon Sep 17 00:00:00 2001 From: StarryWang Date: Wed, 17 Jul 2024 10:21:16 +0800 Subject: [PATCH] Update chart image tags --- .goreleaser.yaml | 1 - charts/rancher-flat-network/values.yaml | 14 +++++++------- scripts/chart.sh | 2 +- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 658cf65..2a972e4 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -44,7 +44,6 @@ builds: id: rancher-flat-network-cni binary: rancher-flat-network-cni - release: prerelease: auto diff --git a/charts/rancher-flat-network/values.yaml b/charts/rancher-flat-network/values.yaml index ead066e..d0c3b52 100644 --- a/charts/rancher-flat-network/values.yaml +++ b/charts/rancher-flat-network/values.yaml @@ -18,8 +18,8 @@ flatNetworkOperator: memory: "512M" image: repository: "cnrancher/rancher-flat-network-operator" - tag: "v0.0.0" - pullPolicy: Always + tag: v0.0.0 + pullPolicy: IfNotPresents # Configuration for rancher-flat-network-deploy deploy: @@ -28,15 +28,15 @@ deploy: rolloutSchedule: "0 0 1 * *" image: repository: "cnrancher/rancher-flat-network-deploy" - tag: "v0.0.0" - pullPolicy: Always + tag: v0.0.0 + pullPolicy: IfNotPresent # Configuration for rancher-flat-network-cni flatNetworkCNI: image: repository: "cnrancher/rancher-flat-network-cni" - tag: "v0.0.0" - pullPolicy: Always + tag: v0.0.0 + pullPolicy: IfNotPresent # Configuration for multus-cni multus: @@ -46,7 +46,7 @@ multus: image: repository: "cnrancher/hardened-multus-cni" tag: "v4.0.2-rancher1" - pullPolicy: Always + pullPolicy: IfNotPresent global: cattle: diff --git a/scripts/chart.sh b/scripts/chart.sh index ef9a026..4435996 100755 --- a/scripts/chart.sh +++ b/scripts/chart.sh @@ -20,7 +20,7 @@ sed -i \ build/charts/rancher-flat-network/Chart.yaml sed -i \ - -e 's/tag:.*/tag: '${TAG}'/' \ + -e 's/tag: v0.0.0/tag: "'${TAG}'"/' \ build/charts/rancher-flat-network/values.yaml helm package -d ./dist/artifacts ./build/charts/rancher-flat-network