Skip to content

Commit 24075a2

Browse files
committed
CI: Update Helm to v4.0.1.
1 parent 3fa33a5 commit 24075a2

File tree

8 files changed

+11
-16
lines changed

8 files changed

+11
-16
lines changed

.github/workflows/chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Set up Helm
3131
uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # v4.3.1
3232
with:
33-
version: v3.19.2
33+
version: v4.0.1
3434

3535
- name: Set up Helm Chart Testing
3636
uses: helm/chart-testing-action@6ec842c01de15ebb84c8627d2744a0c2f2755c9f

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ jobs:
225225
- name: Set up Helm
226226
uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # v4.3.1
227227
with:
228-
version: v3.19.2
228+
version: v4.0.1
229229

230230
- name: Set up Helm Chart Testing
231231
uses: helm/chart-testing-action@6ec842c01de15ebb84c8627d2744a0c2f2755c9f

charts/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ REPOSITORY ?= $(REGISTRY)/charts
1919

2020
.PHONY: helm
2121
helm:
22-
command -v helm || go install helm.sh/helm/v3/cmd/helm@latest
22+
command -v helm || go install helm.sh/helm/v4/cmd/helm@latest
2323

2424
.PHONY: package
2525
package: helm

go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ require (
3232
google.golang.org/grpc v1.77.0
3333
gopkg.in/go-playground/pool.v3 v3.1.1
3434
gopkg.in/mcuadros/go-syslog.v2 v2.3.0
35-
helm.sh/helm/v3 v3.19.2
35+
helm.sh/helm/v4 v4.0.1
3636
k8s.io/api v0.34.2
3737
k8s.io/apiextensions-apiserver v0.34.2
3838
k8s.io/apimachinery v0.34.2
@@ -67,7 +67,6 @@ require (
6767
github.com/mitchellh/copystructure v1.2.0 // indirect
6868
github.com/mitchellh/reflectwalk v1.0.2 // indirect
6969
github.com/moby/sys/userns v0.1.0 // indirect
70-
github.com/pkg/errors v0.9.1 // indirect
7170
github.com/santhosh-tekuri/jsonschema/v6 v6.0.2 // indirect
7271
github.com/x448/float16 v0.8.4 // indirect
7372
go.opentelemetry.io/otel v1.38.0 // indirect
@@ -112,7 +111,6 @@ require (
112111
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 // indirect
113112
github.com/inconshreveable/mousetrap v1.1.0 // indirect
114113
github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de // indirect
115-
github.com/mattn/go-isatty v0.0.19 // indirect
116114
github.com/mmarkdown/mmark v2.0.40+incompatible // indirect
117115
github.com/moby/sys/mountinfo v0.7.2 // indirect
118116
github.com/moby/term v0.5.2 // indirect

go.sum

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ github.com/maruel/natural v1.1.1 h1:Hja7XhhmvEFhcByqDoHz9QZbkWey+COd9xWfCfn1ioo=
159159
github.com/maruel/natural v1.1.1/go.mod h1:v+Rfd79xlw1AgVBjbO0BEQmptqb5HvL/k9GRHB7ZKEg=
160160
github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA=
161161
github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg=
162-
github.com/mattn/go-isatty v0.0.19 h1:JITubQf0MOLdlGRuRq+jtsDlekdYPia9ZFsB8h/APPA=
163-
github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
162+
github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY=
163+
github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
164164
github.com/mfridman/tparse v0.18.0 h1:wh6dzOKaIwkUGyKgOntDW4liXSo37qg5AXbIhkMV3vE=
165165
github.com/mfridman/tparse v0.18.0/go.mod h1:gEvqZTuCgEhPbYk/2lS3Kcxg1GmTxxU7kTC8DvP0i/A=
166166
github.com/mitchellh/copystructure v1.2.0 h1:vpKXTN4ewci03Vljg/q9QvCGUDttBOGBIa15WveJJGw=
@@ -212,8 +212,6 @@ github.com/opencontainers/cgroups v0.0.6 h1:tfZFWTIIGaUUFImTyuTg+Mr5x8XRiSdZESgE
212212
github.com/opencontainers/cgroups v0.0.6/go.mod h1:oWVzJsKK0gG9SCRBfTpnn16WcGEqDI8PAcpMGbqWxcs=
213213
github.com/peterbourgon/diskv v2.0.1+incompatible h1:UBdAOUP5p4RWqPBg048CAvpKN+vxiaj6gdUUzhl4XmI=
214214
github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU=
215-
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
216-
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
217215
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
218216
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U=
219217
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
@@ -327,7 +325,6 @@ golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7w
327325
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
328326
golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
329327
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
330-
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
331328
golang.org/x/sys v0.38.0 h1:3yZWxaJjBmCWXqhN1qh02AkOnCQ1poK6oF+a7xWL6Gc=
332329
golang.org/x/sys v0.38.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks=
333330
golang.org/x/term v0.37.0 h1:8EGAD0qCmHYZg6J17DvsMy9/wJ7/D/4pV/wfnld5lTU=
@@ -387,8 +384,8 @@ gopkg.in/yaml.v3 v3.0.0-20191026110619-0b21df46bc1d/go.mod h1:K4uyk7z7BCEPqu6E+C
387384
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
388385
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
389386
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
390-
helm.sh/helm/v3 v3.19.2 h1:psQjaM8aIWrSVEly6PgYtLu/y6MRSmok4ERiGhZmtUY=
391-
helm.sh/helm/v3 v3.19.2/go.mod h1:gX10tB5ErM+8fr7bglUUS/UfTOO8UUTYWIBH1IYNnpE=
387+
helm.sh/helm/v4 v4.0.1 h1:WAfnyQEaEnTgaIPJssN+sPx0k1pkKldro8tE4q3c51A=
388+
helm.sh/helm/v4 v4.0.1/go.mod h1:G1Y5AE+lJPQSAjh7nbXnhZrtGtxo+I6POSu9DruYiGI=
392389
k8s.io/api v0.34.2 h1:fsSUNZhV+bnL6Aqrp6O7lMTy6o5x2C4XLjnh//8SLYY=
393390
k8s.io/api v0.34.2/go.mod h1:MMBPaWlED2a8w4RSeanD76f7opUoypY8TFYkSM+3XHw=
394391
k8s.io/apiextensions-apiserver v0.34.2 h1:WStKftnGeoKP4AZRz/BaAAEJvYp4mlZGN0UCv+uvsqo=

hack/.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
kustomize 4.5.4
2-
helm 3.19.2
2+
helm 4.0.1

images/test-runner/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ build: builder
4343
--build-arg CHART_TESTING_VERSION=3.8.0 \
4444
--build-arg YAML_LINT_VERSION=1.33.0 \
4545
--build-arg YAMALE_VERSION=4.0.4 \
46-
--build-arg HELM_VERSION=3.19.2 \
46+
--build-arg HELM_VERSION=4.0.1 \
4747
--build-arg GINKGO_VERSION=2.27.2 \
4848
--build-arg GOLINT_VERSION=latest \
4949
rootfs \

magefiles/steps/helm.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
"github.com/magefile/mage/sh"
2626
yamlpath "github.com/vmware-labs/yaml-jsonpath/pkg/yamlpath"
2727
"gopkg.in/yaml.v3"
28-
"helm.sh/helm/v3/pkg/chartutil"
28+
chartutil "helm.sh/helm/v4/pkg/chart/v2/util"
2929

3030
utils "k8s.io/ingress-nginx/magefiles/utils"
3131
)

0 commit comments

Comments
 (0)