SHA256
1
0
forked from pool/helm

60 Commits

Author SHA256 Message Date
e72cbf3220 Accepting request 1327467 from Virtualization:containers
OBS-URL: https://build.opensuse.org/request/show/1327467
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/helm?expand=0&rev=94
2026-01-17 13:52:51 +00:00
1bcaab93cf update to 4.0.5
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/helm?expand=0&rev=146
2026-01-15 21:18:10 +00:00
25c00ad781 Accepting request 1324481 from Virtualization:containers
OBS-URL: https://build.opensuse.org/request/show/1324481
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/helm?expand=0&rev=93
2025-12-27 11:48:30 +00:00
c4db80f89e update to 4.0.4
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/helm?expand=0&rev=144
2025-12-27 09:26:03 +00:00
785805716f Accepting request 1322790 from Virtualization:containers
OBS-URL: https://build.opensuse.org/request/show/1322790
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/helm?expand=0&rev=92
2025-12-15 10:58:44 +00:00
36770ea8cd update to 4.0.2
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/helm?expand=0&rev=142
2025-12-13 18:08:27 +00:00
15d37834c3 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/helm?expand=0&rev=141 2025-11-27 17:17:59 +00:00
8e1e2daec6 - add conflicts with helm3
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/helm?expand=0&rev=140
2025-11-27 17:17:22 +00:00
332f483e7a Accepting request 1319963 from Virtualization:containers
OBS-URL: https://build.opensuse.org/request/show/1319963
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/helm?expand=0&rev=91
2025-11-26 16:14:49 +00:00
5371c7c53a update to 4.0.1 (cleanup spec and fix version output)
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/helm?expand=0&rev=138
2025-11-25 11:09:55 +00:00
5de94f3dd7 Accepting request 1318389 from Virtualization:containers
OBS-URL: https://build.opensuse.org/request/show/1318389
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/helm?expand=0&rev=90
2025-11-18 14:40:06 +00:00
0607baa6bd update to 3.19.1
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/helm?expand=0&rev=136
2025-11-18 06:07:52 +00:00
270474d579 Accepting request 1317198 from Virtualization:containers
- Update to version 3.19.1 (bsc#1251649, CVE-2025-58190,
  bsc#1251442, CVE-2025-47911):
  * chore(deps): bump github.com/containerd/containerd from 1.7.28
    to 1.7.29
  * jsonschema: warn and ignore unresolved URN $ref to match
    v3.18.4
  * Avoid "panic: interface conversion: interface {} is nil"
  * Fix `helm pull` untar dir check with repo urls
  * Fix deprecation warning
  * chore(deps): bump github.com/spf13/pflag from 1.0.7 to 1.0.10
  * Add timeout flag to repo add and update flags
  * chore(deps): bump golang.org/x/crypto from 0.41.0 to 0.43.0

OBS-URL: https://build.opensuse.org/request/show/1317198
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/helm?expand=0&rev=89
2025-11-12 20:14:45 +00:00
0600639bd8 - Update to version 3.19.1 (bsc#1251649, CVE-2025-58190,
bsc#1251442, CVE-2025-47911):

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/helm?expand=0&rev=134
2025-11-11 22:34:49 +00:00
2afa538a6e update to 3.19.1
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/helm?expand=0&rev=133
2025-11-11 22:31:31 +00:00
2488920202 Accepting request 1304583 from Virtualization:containers
- Update to version 3.19.0:
  * bump version to v3.19.0
  * fix: use username and password if provided
  * chore(deps): bump the k8s-io group with 7 updates
  * chore(deps): bump github.com/spf13/cobra from 1.9.1 to 1.10.1
  * chore(deps): bump github.com/stretchr/testify from 1.11.0 to 1.11.1
  * chore(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.0
  * fix(helm-lint): fmt
  * fix(helm-lint): Add TLSClientConfig
  * fix(helm-lint): Add HTTP/HTTPS URL support for json schema references
  * chore(deps): bump the k8s-io group with 7 updates
  * fix: go mod tidy for v3
  * chore(deps): bump golang.org/x/crypto from 0.40.0 to 0.41.0
  * chore(deps): bump golang.org/x/term from 0.33.0 to 0.34.0
  * fix Chart.yaml handling
  * Handle messy index files
  * chore(deps): bump github.com/containerd/containerd from 1.7.27 to 1.7.28
  * json schema fix
  * fix: k8s version parsing to match original
  * chore(deps): bump sigs.k8s.io/yaml from 1.5.0 to 1.6.0
  * Do not explicitly set SNI in HTTPGetter
  * chore(deps): bump github.com/spf13/pflag from 1.0.6 to 1.0.7
  * chore(deps): bump the k8s-io group with 7 updates
  * chore(deps): bump golang.org/x/crypto from 0.39.0 to 0.40.0
  * chore(deps): bump golang.org/x/term from 0.32.0 to 0.33.0
  * chore(deps): bump golang.org/x/text from 0.26.0 to 0.27.0
  * Disabling linter due to unknown issue
  * Updating link handling
  * Bump github.com/Masterminds/semver/v3 from 3.3.0 to 3.3.1
  * build(deps): bump the k8s-io group with 7 updates

OBS-URL: https://build.opensuse.org/request/show/1304583
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/helm?expand=0&rev=88
2025-09-15 17:51:05 +00:00
b7ac322c97 - Update to version 3.19.0:
* bump version to v3.19.0
  * fix: use username and password if provided
  * chore(deps): bump the k8s-io group with 7 updates
  * chore(deps): bump github.com/spf13/cobra from 1.9.1 to 1.10.1
  * chore(deps): bump github.com/stretchr/testify from 1.11.0 to 1.11.1
  * chore(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.0
  * fix(helm-lint): fmt
  * fix(helm-lint): Add TLSClientConfig
  * fix(helm-lint): Add HTTP/HTTPS URL support for json schema references
  * chore(deps): bump the k8s-io group with 7 updates
  * fix: go mod tidy for v3
  * chore(deps): bump golang.org/x/crypto from 0.40.0 to 0.41.0
  * chore(deps): bump golang.org/x/term from 0.33.0 to 0.34.0
  * fix Chart.yaml handling
  * Handle messy index files
  * chore(deps): bump github.com/containerd/containerd from 1.7.27 to 1.7.28
  * json schema fix
  * fix: k8s version parsing to match original
  * chore(deps): bump sigs.k8s.io/yaml from 1.5.0 to 1.6.0
  * Do not explicitly set SNI in HTTPGetter
  * chore(deps): bump github.com/spf13/pflag from 1.0.6 to 1.0.7
  * chore(deps): bump the k8s-io group with 7 updates
  * chore(deps): bump golang.org/x/crypto from 0.39.0 to 0.40.0
  * chore(deps): bump golang.org/x/term from 0.32.0 to 0.33.0
  * chore(deps): bump golang.org/x/text from 0.26.0 to 0.27.0
  * Disabling linter due to unknown issue
  * Updating link handling
  * Bump github.com/Masterminds/semver/v3 from 3.3.0 to 3.3.1
  * build(deps): bump the k8s-io group with 7 updates

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/helm?expand=0&rev=131
2025-09-13 20:36:20 +00:00
2502f5f638 Accepting request 1301959 from Virtualization:containers
OBS-URL: https://build.opensuse.org/request/show/1301959
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/helm?expand=0&rev=87
2025-08-29 16:37:45 +00:00
711cd4e8c2 update to 3.18.6
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/helm?expand=0&rev=129
2025-08-29 15:03:42 +00:00
8d58b6a1ca Accepting request 1297565 from Virtualization:containers
OBS-URL: https://build.opensuse.org/request/show/1297565
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/helm?expand=0&rev=86
2025-08-05 12:21:25 +00:00
e6e93e20ee Cleanup completions.
Add BuildRequires to prevent inclusion of folders owned by shells.
Add Requires because installing completions without appropriate shell is questionable.

Fix for zsh completion:
/usr/share/zsh_completion.d is not on zsh's fpath and completions located there doesn't get loaded. Moved completion to /usr/share/zsh/site-functions to make it work for helm.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/helm?expand=0&rev=127
2025-08-04 17:26:40 +00:00
9d8d1a3434 Accepting request 1291506 from Virtualization:containers
- Update to version 3.18.4 (bsc#1246152, CVE-2025-53547):
  * Disabling linter due to unknown issue f20a4ad (Matt Farina)
  * build(deps): bump the k8s-io group with 7 updates 563b094
    (dependabot[bot])
  * Updating link handling 00de613 (Matt Farina)

OBS-URL: https://build.opensuse.org/request/show/1291506
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/helm?expand=0&rev=85
2025-07-09 15:29:32 +00:00
395aa05cb0 - Update to version 3.18.4 (bsc#1246152, CVE-2025-53547):
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/helm?expand=0&rev=125
2025-07-09 14:55:38 +00:00
15c47557f2 update to 3.18.4
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/helm?expand=0&rev=124
2025-07-09 11:52:58 +00:00
b9141e0b80 Accepting request 1286347 from Virtualization:containers
- Update to version 3.18.3:
  * build(deps): bump golang.org/x/crypto from 0.38.0 to 0.39.0
    6838ebc (dependabot[bot])
  * fix: user username password for login 5b9e2f6 (Terry Howe)
  * Update pkg/registry/transport.go 2782412 (Terry Howe)
  * Update pkg/registry/transport.go e66cf6a (Terry Howe)
  * fix: add debug logging to oci transport 191f05c (Terry Howe)

  * cmd/helm/dependency_build_test.go
  * cmd/helm/dependency_update_test.go
- Update to version 3.18.0 (bsc#1241802, CVE-2025-22872):

OBS-URL: https://build.opensuse.org/request/show/1286347
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/helm?expand=0&rev=84
2025-06-17 16:24:06 +00:00
e2b5b8727a - Update to version 3.18.0 (bsc#1241802, CVE-2025-22872):
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/helm?expand=0&rev=122
2025-06-17 10:56:59 +00:00
40a4857fa6 update to 3.18.3
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/helm?expand=0&rev=121
2025-06-17 10:48:57 +00:00
84614f304a Accepting request 1284412 from Virtualization:containers
OBS-URL: https://build.opensuse.org/request/show/1284412
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/helm?expand=0&rev=83
2025-06-11 14:22:14 +00:00
cd044a8b2d remove some tests that cause build issues
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/helm?expand=0&rev=119
2025-06-10 10:03:11 +00:00
c7b90692d3 Accepting request 1279594 from Virtualization:containers
OBS-URL: https://build.opensuse.org/request/show/1279594
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/helm?expand=0&rev=82
2025-05-26 16:34:39 +00:00
53cc853abc - Don't disable CGO on riscv64
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/helm?expand=0&rev=117
2025-05-23 16:33:10 +00:00
7ebe318bd2 Accepting request 1278876 from Virtualization:containers
- reduce parallelism even more on tests 

- Update to version 3.18.0:
  * Notable Changes
    - Add support for JSON Schema 2020
    - Enabled cpu and memory profiling
    - Add hook annotation to output hook logs to client on error
  * Changelog
    - build(deps): bump the k8s-io group with 7 updates
    - fix: govulncheck workflow
    - bump version to v3.18.0
    - fix:add proxy support when mTLS configured
    - docs: Note about http fallback for OCI registries
    - Bump net package to avoid CVE on dev-v3
    - Bump toml
    - backport #30677to dev3
    - build(deps): bump github.com/rubenv/sql-migrate from 1.7.2 to
      1.8.0
    - Add install test for TakeOwnership flag
    - Fix --take-ownership
    - build(deps): bump github.com/rubenv/sql-migrate from 1.7.1 to
      1.7.2
    - build(deps): bump golang.org/x/crypto from 0.36.0 to 0.37.0
    - build(deps): bump golang.org/x/term from 0.30.0 to 0.31.0
    - Testing text bump
    - Permit more Go version and not only 1.23.8
    - Bumps github.com/distribution/distribution/v3 from 3.0.0-rc.3
      to 3.0.0
    - Unarchiving fix
    - Fix typo

OBS-URL: https://build.opensuse.org/request/show/1278876
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/helm?expand=0&rev=81
2025-05-22 14:55:38 +00:00
b3129df77c - reduce parallelism even more on tests
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/helm?expand=0&rev=115
2025-05-20 19:29:34 +00:00
5725b2bc24 update to 3.18.0: tests are failing in OBS while running smoothly when building locally
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/helm?expand=0&rev=114
2025-05-20 19:27:53 +00:00
566161c77a Accepting request 1268277 from Virtualization:containers
OBS-URL: https://build.opensuse.org/request/show/1268277
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/helm?expand=0&rev=80
2025-04-10 19:59:24 +00:00
6f2c69aab3 update to 3.17.3
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/helm?expand=0&rev=112
2025-04-10 05:13:32 +00:00
296ce2a68e Accepting request 1254159 from Virtualization:containers
- Update to version 3.17.2 (bsc#1238688, CVE-2025-22870):
  * Updating to 0.37.0 for x/net
  * build(deps): bump the k8s-io group with 7 updates

OBS-URL: https://build.opensuse.org/request/show/1254159
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/helm?expand=0&rev=79
2025-03-18 16:41:46 +00:00
14a82cfbbf - Update to version 3.17.2 (bsc#1238688, CVE-2025-22870):
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/helm?expand=0&rev=110
2025-03-18 13:53:24 +00:00
3ff60b6c60 - Update to version 3.17.2 (bsc#1252849, CVE-2025-22870):
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/helm?expand=0&rev=109
2025-03-17 21:34:41 +00:00
3c44e02be7 update to 3.17.2
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/helm?expand=0&rev=108
2025-03-17 21:26:20 +00:00
34c68c010b Accepting request 1253886 from Virtualization:containers
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1253886
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/helm?expand=0&rev=78
2025-03-17 21:19:17 +00:00
e73d7a3f47 - skip 32bit builds on SLFO
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/helm?expand=0&rev=106
2025-03-10 16:41:17 +00:00
8e99275a49 Accepting request 1245873 from Virtualization:containers
- reduce test flakyness by limiting parallelism to what upstream
  uses

- Update to version 3.17.1:
  * add test for nullifying nested global value
  * Add test case for removing an entire object
  * Tests for bugfix: Override subcharts with null values #12879
  * merge null child chart objects
  * build(deps): bump the k8s-io group with 7 updates
  * fix: check group for resource info match

OBS-URL: https://build.opensuse.org/request/show/1245873
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/helm?expand=0&rev=77
2025-02-14 18:23:06 +00:00
60b071c0cd - reduce test flakyness by limiting parallelism to what upstream
uses

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/helm?expand=0&rev=104
2025-02-14 11:53:14 +00:00
6b0db329a0 update to 3.17.1
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/helm?expand=0&rev=103
2025-02-13 09:21:26 +00:00
6f227fd2e4 Accepting request 1243331 from Virtualization:containers
- Update to version 3.15.0 (bsc#1220207, CVE-2024-26147,
  bsc#1219969, CVE-2024-25620):
  - obsoletes CVE-2024-26147.patch in older distributions
  - obsoletes CVE-2024-25620.patch in odler distributions

OBS-URL: https://build.opensuse.org/request/show/1243331
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/helm?expand=0&rev=76
2025-02-05 16:21:19 +00:00
34b5c2e0ee - Update to version 3.15.0 (bsc#1220207, CVE-2024-26147,
bsc#1219969, CVE-2024-25620):
  - obsoletes CVE-2024-26147.patch in older distributions
  - obsoletes CVE-2024-25620.patch in odler distributions

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/helm?expand=0&rev=101
2025-02-05 11:57:39 +00:00
3625be8c96 Accepting request 1242770 from Virtualization:containers
- Update to 3.17.0 (bsc#1235318, CVE-2024-45338):

OBS-URL: https://build.opensuse.org/request/show/1242770
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/helm?expand=0&rev=75
2025-02-03 20:42:28 +00:00
0a0589c86c - Update to 3.17.0 (bsc#1235318, CVE-2024-45338):
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/helm?expand=0&rev=99
2025-02-03 10:45:45 +00:00
4bb3fff5c1 Accepting request 1240369 from Virtualization:containers
OBS-URL: https://build.opensuse.org/request/show/1240369
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/helm?expand=0&rev=74
2025-01-27 19:54:20 +00:00
a88a76d621 update to 3.17.0
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/helm?expand=0&rev=97
2025-01-26 15:50:47 +00:00
dbe58778e2 Accepting request 1231582 from Virtualization:containers
- Update to version 3.16.4 (bsc#1234482, CVE-2024-45337):
  * Bump golang.org/x/crypto from 0.30.0 to 0.31.0
  * Bump the k8s-io group with 7 updates

OBS-URL: https://build.opensuse.org/request/show/1231582
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/helm?expand=0&rev=73
2024-12-17 18:23:28 +00:00
ac32b55265 - Update to version 3.16.4 (bsc#1234482, CVE-2024-45337):
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/helm?expand=0&rev=95
2024-12-16 21:51:21 +00:00
fae85c60c1 - Update to version 3.16.4:
* Bump golang.org/x/crypto from 0.30.0 to 0.31.0
  * Bump the k8s-io group with 7 updates

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/helm?expand=0&rev=94
2024-12-16 21:47:54 +00:00
1a410b84e6 Accepting request 1224201 from Virtualization:containers
- Update to version 3.16.3:
  * fix: fix label name
  * Fix typo in pkg/lint/rules/chartfile_test.go
  * Increasing the size of the runner used for releases.
  * fix(hooks): correct hooks delete order
  * Bump github.com/containerd/containerd from 1.7.12 to 1.7.23

OBS-URL: https://build.opensuse.org/request/show/1224201
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/helm?expand=0&rev=72
2024-11-14 15:10:28 +00:00
5217676026 - Update to version 3.16.3:
* fix: fix label name
  * Fix typo in pkg/lint/rules/chartfile_test.go
  * Increasing the size of the runner used for releases.
  * fix(hooks): correct hooks delete order
  * Bump github.com/containerd/containerd from 1.7.12 to 1.7.23

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/helm?expand=0&rev=92
2024-11-14 13:07:31 +00:00
46609faa18 Accepting request 1208062 from Virtualization:containers
OBS-URL: https://build.opensuse.org/request/show/1208062
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/helm?expand=0&rev=71
2024-10-15 13:01:50 +00:00
b16cabedb0 update to 3.16.2
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/helm?expand=0&rev=90
2024-10-15 08:10:05 +00:00
5537b6056f Accepting request 1202932 from Virtualization:containers
OBS-URL: https://build.opensuse.org/request/show/1202932
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/helm?expand=0&rev=70
2024-09-24 15:35:00 +00:00
718a7508ed update to 3.16.1
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/helm?expand=0&rev=88
2024-09-24 11:50:40 +00:00
8 changed files with 629 additions and 45 deletions

View File

@@ -5,7 +5,7 @@
<param name="exclude">.git</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="revision">v3.15.4</param>
<param name="revision">v4.0.5</param>
<param name="changesgenerate">enable</param>
</service>
<service name="set_version" mode="manual">

View File

@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/helm/helm.git</param>
<param name="changesrevision">fa9efb07d9d8debbb4306d72af76a383895aa8c4</param></service></servicedata>
<param name="changesrevision">1b6053d48b51673c5581973f5ae7e104f627fcf5</param></service></servicedata>

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:60d60b563999f69dc77909b277aa0339b1812ed5cf313326241ba036ee98751d
size 2897420

3
helm-4.0.5.obscpio Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0896b0d276c5a49e8118654ae587caed7241c4ff3afae985bb3e59e78318cd71
size 4144140

View File

@@ -1,3 +1,558 @@
-------------------------------------------------------------------
Thu Jan 15 05:58:15 UTC 2026 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- Update to version 4.0.5:
* Notable Changes
- Fixed bug where helm uninstall with --keep-history did not
suspend previous deployed releases #12556
- Fixed rollback error when a manifest is removed in a failed
upgrade #13437
- Fixed check to ensure CLI plugin does not load with the same
name as an existing Helm command
- Fixed helm test --logs failure with hook-delete-policy
"hook-failed" or "hook-succeed" #9098
- Fixed a bug where empty dependency lists were incorrectly
treated as present
- Fixed a bug where the watch library did not only watch
namespaces associated with the objects
- Fixed regression in downloader plugins environment variables
#31612
- Fixed bug where --server-side flag is not respected with helm
upgrade --install #31627
- For SDK users: exposed KUBECONFIG to env
* Changelog
- fix(upgrade): pass --server-side flag to install when using
upgrade --install 1b6053d (Evans Mungai)
- fix(cli): handle nil config in EnvSettings.Namespace()
1e3ee1d (Zadkiel AHARONIAN)
- fix(getter): pass settings environment variables 31bd995
(Zadkiel AHARONIAN)
- test(statuswait): fix Copilot code review suggestion for
goroutine in tests 41a6b36 (Mohsen Mottaghi)
- test(statuswait): add more tests suggested by Copilot code
review 2a2e6f7 (Mohsen Mottaghi)
- test(statuswait): add some tests for statuswait 3818c02
(Mohsen Mottaghi)
- fix: use namespace-scoped watching to avoid cluster-wide LIST
permissions 66cab24 (Mohsen Mottaghi)
- Use length check for MetaDependencies instead of nil
comparison abf2007 (Calvin Bui)
- Deal with golint warning with private executeShutdownFunc
4b3de18 (Benoit Tigeot)
- Code review 3212770 (Benoit Tigeot)
- Fix linting issue 417aae9 (Benoit Tigeot)
- Update pkg/action/hooks.go 6c838b4 (Michelle Fernandez
Bieber)
- added check for nil shutdown c5d87f2 (Michelle Fernandez
Bieber)
- cleaned up empty line 53175b7 (Michelle Fernandez Bieber)
- updated comment and made defer of shutdown function return
errors as before and not the possible shutdown error d2df1ab
(Michelle Fernandez Bieber)
- added shutdown hook that is executed after the logs have been
retrieved 5b223de (Michelle Fernandez Bieber)
- Fix TestCliPluginExitCode e845b68 (tison)
- Check plugin name is not used 30bfd57 (tison)
- Fix rollback for missing resources 0fd2c41 (Feruzjon
Muyassarov)
- fix: assign KUBECONFIG environment variable value to
env.Kubeconfig b456e27 (LinPr)
- fix(rollback): errors.Is instead of string comp e2021f8
(Hidde Beydals)
- fix(uninstall): supersede deployed releases af7c153 (Hidde
Beydals)
-------------------------------------------------------------------
Sat Dec 13 19:26:45 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- Update to version 4.0.4 (4.0.3 was not released):
* Bump v4.0.2 CVE deps cd700e0 (George Jenkins)
* Use latest patch release of Go in releases 9db13ee (Matt
Farina)
-------------------------------------------------------------------
Thu Dec 11 07:00:08 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- Update to version 4.0.2:
* fix: prevent reporting fallback on version when none specified
* fix: prevent segmentation violation on empty yaml in multidoc
* Ignore duplicated URN in logs
* jsonschema: warn and ignore unresolved URN $ref to match
v3.18.4
* Publish Helm v4 -> `helm-latest-version`
* fix: Fix Helm v4 release distribtion/get-helm-3 script
-------------------------------------------------------------------
Tue Nov 25 07:41:27 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- Update to version 4.0.1:
* Copy adopted resource info 12500dd (George Jenkins)
* fixup test 1cf3841 (George Jenkins)
* logs 32e2d08 (George Jenkins)
* fix 4b6472f (George Jenkins)
* fix: Use server-side apply for object create during update
9dfe3b3 (George Jenkins)
* Fix kube client logging 861adc2 (Matt Farina)
* update tests b2f7872 (yxxhero)
* Refactor environment variable expansion in PrepareCommands and
update tests 77f97a1 (yxxhero)
* Fix syntax errors in the document a156195 (Fish-pro)
* fix: correct LDFLAGS path for default Kubernetes version
2c0dcda (Benoit Tigeot)
-------------------------------------------------------------------
Fri Nov 14 08:16:41 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- Update to version 4.0.0:
https://github.com/helm/helm/releases/tag/v4.0.0
The Helm Team is proud to announce the first stable release of
Helm 4.
For full release notes, please see:
https://helm.sh/docs/overview/
https://helm.sh/docs/changelog/
* New Features
Helm 4 has numerous new features, but a few deserve
highlighting here:
- Redesigned plugin system that supports Web Assembly based
plugins
- Post-renderers are now plugins
- Server side apply is now supported
- Improved resource watching, to support waiting, based on
kstatus
- Local Content-based caching (e.g. for charts)
- Logging via slog enabling SDK logging to integrate with
modern loggers
- Reproducible builds of chart archives
- Updated SDK API including support for multiple chart API
versions (new experimental v3 chart API version coming soon)
* Compatibility with Helm v3
Helm v4 is a major version with backward incompatible changes
including to the flags and output of the Helm CLI and to the
SDK.
Please evaluate the changes to your workflows. The changes are
not as extensive as those from Helm v2 to v3, with the goal
that the majority of workflows remain compatible between Helm
v3 and v4.
Helm charts apiVersion v2 (majority of today's charts) will
continue to be supported in Helm v4. Existing charts should
continue to install, upgrade, and otherwise work. Please test
the installation and upgrade of charts to ensure it works as
expected. Changes (e.g., server side apply) may impact the
experience.
* Breaking Changes
- Post-renderers implemented as plugins
Post-renderers are implemented as plugins. With this change,
it is no longer possible to pass an executable directly to
helm render --post-renderer, but a plugin name must be
passed. This might require updates to existing any
post-renderer workflows.
-------------------------------------------------------------------
Wed Nov 12 15:01:28 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- Update to version 3.19.2:
* [backport] fix: get-helm-3 script use helm3-latest-version
8766e71 (George Jenkins)
-------------------------------------------------------------------
Tue Nov 11 10:17:19 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- Update to version 3.19.1 (bsc#1251649, CVE-2025-58190,
bsc#1251442, CVE-2025-47911):
* chore(deps): bump github.com/containerd/containerd from 1.7.28
to 1.7.29
* jsonschema: warn and ignore unresolved URN $ref to match
v3.18.4
* Avoid "panic: interface conversion: interface {} is nil"
* Fix `helm pull` untar dir check with repo urls
* Fix deprecation warning
* chore(deps): bump github.com/spf13/pflag from 1.0.7 to 1.0.10
* Add timeout flag to repo add and update flags
* chore(deps): bump golang.org/x/crypto from 0.41.0 to 0.43.0
-------------------------------------------------------------------
Sat Sep 13 16:02:47 UTC 2025 - Dirk Müller <dmueller@suse.com>
- Update to version 3.19.0:
* bump version to v3.19.0
* fix: use username and password if provided
* chore(deps): bump the k8s-io group with 7 updates
* chore(deps): bump github.com/spf13/cobra from 1.9.1 to 1.10.1
* chore(deps): bump github.com/stretchr/testify from 1.11.0 to 1.11.1
* chore(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.0
* fix(helm-lint): fmt
* fix(helm-lint): Add TLSClientConfig
* fix(helm-lint): Add HTTP/HTTPS URL support for json schema references
* chore(deps): bump the k8s-io group with 7 updates
* fix: go mod tidy for v3
* chore(deps): bump golang.org/x/crypto from 0.40.0 to 0.41.0
* chore(deps): bump golang.org/x/term from 0.33.0 to 0.34.0
* fix Chart.yaml handling
* Handle messy index files
* chore(deps): bump github.com/containerd/containerd from 1.7.27 to 1.7.28
* json schema fix
* fix: k8s version parsing to match original
* chore(deps): bump sigs.k8s.io/yaml from 1.5.0 to 1.6.0
* Do not explicitly set SNI in HTTPGetter
* chore(deps): bump github.com/spf13/pflag from 1.0.6 to 1.0.7
* chore(deps): bump the k8s-io group with 7 updates
* chore(deps): bump golang.org/x/crypto from 0.39.0 to 0.40.0
* chore(deps): bump golang.org/x/term from 0.32.0 to 0.33.0
* chore(deps): bump golang.org/x/text from 0.26.0 to 0.27.0
* Disabling linter due to unknown issue
* Updating link handling
* Bump github.com/Masterminds/semver/v3 from 3.3.0 to 3.3.1
* build(deps): bump the k8s-io group with 7 updates
* build(deps): bump sigs.k8s.io/yaml from 1.4.0 to 1.5.0
* fix: user username password for login
* Update pkg/registry/transport.go
* Update pkg/registry/transport.go
* fix: add debug logging to oci transport
* build(deps): bump golang.org/x/crypto from 0.38.0 to 0.39.0
* build(deps): bump golang.org/x/text from 0.25.0 to 0.26.0
* fix: legacy docker support broken for login
* fix: plugin installer test with no Internet
* Handle an empty registry config file.
* Prevent fetching newReference again as we have in calling method
* Prevent failure when resolving version tags in oras memory store
* fix(client): skipnode utilization for PreCopy
* test: Skip instead of returning early. looks more intentional
* test: tests repo stripping functionality
* test: include tests for Login based on different protocol prefixes
* fix(client): layers now returns manifest - remove duplicate from descriptors
* fix(client): return nil on non-allowed media types
* Fix 3.18.0 regression: registry login with scheme
* Update pkg/plugin/plugin.go
* Update pkg/plugin/plugin.go
* Wait for Helm v4 before raising when platformCommand and Command are set
* Revert "fix (helm) : toToml` renders int as float [ backport to v3 ]"
* build(deps): bump the k8s-io group with 7 updates
* chore: update generalization warning message
* build(deps): bump oras.land/oras-go/v2 from 2.5.0 to 2.6.0
* build(deps): bump the k8s-io group with 7 updates
* build(deps): bump golang.org/x/crypto from 0.37.0 to 0.38.0
* fix: move warning to top of block
* fix: govulncheck workflow
* fix: replace fmt warning with slog
* fix: add warning when ignore repo flag
* bump version to v3.18.0
* backport #30673 to dev-v3
* feat: add httproute from gateway-api to create chart template
-------------------------------------------------------------------
Wed Aug 20 11:12:50 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- Update to version 3.18.6:
* fix(helm-lint): fmt
* fix(helm-lint): Add TLSClientConfig
* fix(helm-lint): Add HTTP/HTTPS URL support for json schema
references
-------------------------------------------------------------------
Tue Aug 19 05:19:28 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- Update to version 3.18.5:
* fix Chart.yaml handling 7799b48 (Matt Farina)
* Handle messy index files dd8502f (Matt Farina)
* json schema fix cb8595b (Robert Sirchia)
-------------------------------------------------------------------
Mon Aug 4 15:20:55 UTC 2025 - Alexey Kolos <lioli7k@gmail.com>
- Fix shell completion dependencies
* Add BuildRequires to prevent inclusion of folders owned by shells.
* Add Requires because installing completions without appropriate
shell is questionable.
-------------------------------------------------------------------
Tue Jul 29 20:02:25 UTC 2025 - Alexey Kolos <lioli7k@gmail.com>
- Fix zsh completion location
-------------------------------------------------------------------
Wed Jul 09 04:44:40 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- Update to version 3.18.4 (bsc#1246152, CVE-2025-53547):
* Disabling linter due to unknown issue f20a4ad (Matt Farina)
* build(deps): bump the k8s-io group with 7 updates 563b094
(dependabot[bot])
* Updating link handling 00de613 (Matt Farina)
-------------------------------------------------------------------
Tue Jun 17 04:30:30 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- Update to version 3.18.3:
* build(deps): bump golang.org/x/crypto from 0.38.0 to 0.39.0
6838ebc (dependabot[bot])
* fix: user username password for login 5b9e2f6 (Terry Howe)
* Update pkg/registry/transport.go 2782412 (Terry Howe)
* Update pkg/registry/transport.go e66cf6a (Terry Howe)
* fix: add debug logging to oci transport 191f05c (Terry Howe)
-------------------------------------------------------------------
Tue Jun 10 08:14:00 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- remove flaky test
* cmd/helm/dependency_build_test.go
* cmd/helm/dependency_update_test.go
* cmd/helm/pull_test.go
* cmd/helm/registry_login_test.go
-------------------------------------------------------------------
Mon Jun 02 15:44:48 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- Update to version 3.18.2:
* fix: legacy docker support broken for login 04cad46 (Terry
Howe)
* Handle an empty registry config file. bc9f8a2 (Matt Farina)
-------------------------------------------------------------------
Sat May 31 05:20:36 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- Update to version 3.18.1:
* Notes:
- This release fixes regressions around template generation and
OCI registry interaction in 3.18.0
- There are at least 2 known regressions unaddressed in this
release. They are being worked on.
- Empty registry configuration files. When the file exists
but it is empty.
- Login to Docker Hub on some domains fails.
* Changelog
- fix(client): skipnode utilization for PreCopy
- fix(client): layers now returns manifest - remove duplicate
from descriptors
- fix(client): return nil on non-allowed media types
- Prevent fetching newReference again as we have in calling
method
- Prevent failure when resolving version tags in oras memory
store
- Update pkg/plugin/plugin.go
- Update pkg/plugin/plugin.go
- Wait for Helm v4 before raising when platformCommand and
Command are set
- Fix 3.18.0 regression: registry login with scheme
- Revert "fix (helm) : toToml` renders int as float [ backport
to v3 ]"
-------------------------------------------------------------------
Thu May 22 18:13:21 UTC 2025 - Andreas Schwab <schwab@suse.de>
- Don't disable CGO on riscv64
-------------------------------------------------------------------
Tue May 20 19:29:23 UTC 2025 - Dirk Müller <dmueller@suse.com>
- reduce parallelism even more on tests
-------------------------------------------------------------------
Tue May 20 04:35:56 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- Update to version 3.18.0 (bsc#1241802, CVE-2025-22872):
* Notable Changes
- Add support for JSON Schema 2020
- Enabled cpu and memory profiling
- Add hook annotation to output hook logs to client on error
* Changelog
- build(deps): bump the k8s-io group with 7 updates
- fix: govulncheck workflow
- bump version to v3.18.0
- fix:add proxy support when mTLS configured
- docs: Note about http fallback for OCI registries
- Bump net package to avoid CVE on dev-v3
- Bump toml
- backport #30677to dev3
- build(deps): bump github.com/rubenv/sql-migrate from 1.7.2 to
1.8.0
- Add install test for TakeOwnership flag
- Fix --take-ownership
- build(deps): bump github.com/rubenv/sql-migrate from 1.7.1 to
1.7.2
- build(deps): bump golang.org/x/crypto from 0.36.0 to 0.37.0
- build(deps): bump golang.org/x/term from 0.30.0 to 0.31.0
- Testing text bump
- Permit more Go version and not only 1.23.8
- Bumps github.com/distribution/distribution/v3 from 3.0.0-rc.3
to 3.0.0
- Unarchiving fix
- Fix typo
- Report as debug log, the time spent waiting for resources
- build(deps): bump github.com/containerd/containerd from
1.7.26 to 1.7.27
- Update pkg/registry/fallback.go
- automatic fallback to http
- chore(oci): upgrade to ORAS v2
- Updating to 0.37.0 for x/net
- build(deps): bump the k8s-io group with 7 updates
- build(deps): bump golang.org/x/crypto from 0.35.0 to 0.36.0
- build(deps): bump github.com/opencontainers/image-spec
- build(deps): bump github.com/containerd/containerd from
1.7.25 to 1.7.26
- build(deps): bump golang.org/x/crypto from 0.33.0 to 0.35.0
- Fix cherry-pick helm.sh/helm/v4 -> helm.sh/helm/v3
- Refactor based on review comment
- Refactor based on review comment
- Add HookOutputFunc and generic yaml unmarshaller
- clarify fix error message
- fix err check
- remove comments about previous functionality
- add short circuit return
- Update based on review comments
- Update based on review comments
- Fix lint
- Tidy up imports
- Add hook annotations to output pod logs to client on success
and fail
- chore: use []error instead of []string
- Update cmd/helm/profiling.go
- chore: update profiling doc in CONTRIBUTING.md
- Update CONTRIBUTING guide
- Prefer environment variables to CLI flags
- Fix linter warning
- Move pprof paths to HELM_PPROF env variable
- Update CONTRIBUTING.md
- Update CONTRIBUTING.md
- Additional review fixes from PR
- feat: Add flags to enable CPU and memory profiling
- build(deps): bump github.com/distribution/distribution/v3
- build(deps): bump github.com/spf13/cobra from 1.8.1 to 1.9.1
- Moving to SetOut and SetErr for Cobra
- build(deps): bump the k8s-io group with 7 updates
- build(deps): bump golang.org/x/crypto from 0.32.0 to 0.33.0
- build(deps): bump golang.org/x/term from 0.28.0 to 0.29.0
- build(deps): bump golang.org/x/text from 0.21.0 to 0.22.0
- build(deps): bump github.com/spf13/pflag from 1.0.5 to 1.0.6
- build(deps): bump github.com/cyphar/filepath-securejoin
- build(deps): bump github.com/evanphx/json-patch
- build(deps): bump the k8s-io group with 7 updates
- fix: check group for resource info match
- Bump github.com/cyphar/filepath-securejoin from 0.3.6 to
0.4.0
- add test for nullifying nested global value
- Ensuring the file paths are clean prior to passing to
securejoin
- Bump github.com/containerd/containerd from 1.7.24 to 1.7.25
- Bump golang.org/x/crypto from 0.31.0 to 0.32.0
- Bump golang.org/x/term from 0.27.0 to 0.28.0
- bump version to v3.17.0
- Bump github.com/moby/term from 0.5.0 to 0.5.2
- Add test case for removing an entire object
- Tests for bugfix: Override subcharts with null values #12879
- feat: Added multi-platform plugin hook support to v3
- This commit fixes the issue where the yaml.Unmarshaller
converts all int values into float64, this passes in option
to decoder, which enables conversion of int into .
- merge null child chart objects
-------------------------------------------------------------------
Thu Apr 10 04:56:46 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- Update to version 3.17.3:
Helm v3.17.3 is a security (patch) release. Users are strongly
recommended to update to this release.
* Changelog
- Unarchiving fix e4da497 (Matt Farina)
-------------------------------------------------------------------
Thu Mar 13 18:16:55 UTC 2025 - opensuse_buildservice@ojkastl.de
- Update to version 3.17.2 (bsc#1238688, CVE-2025-22870):
* Updating to 0.37.0 for x/net
* build(deps): bump the k8s-io group with 7 updates
-------------------------------------------------------------------
Mon Mar 10 16:41:05 UTC 2025 - Dirk Müller <dmueller@suse.com>
- skip 32bit builds on SLFO
-------------------------------------------------------------------
Fri Feb 14 11:52:56 UTC 2025 - Dirk Müller <dmueller@suse.com>
- reduce test flakyness by limiting parallelism to what upstream
uses
-------------------------------------------------------------------
Thu Feb 13 06:16:05 UTC 2025 - opensuse_buildservice@ojkastl.de
- Update to version 3.17.1:
* add test for nullifying nested global value
* Add test case for removing an entire object
* Tests for bugfix: Override subcharts with null values #12879
* merge null child chart objects
* build(deps): bump the k8s-io group with 7 updates
* fix: check group for resource info match
-------------------------------------------------------------------
Thu Jan 16 05:57:13 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- Update to 3.17.0 (bsc#1235318, CVE-2024-45338):
Full changelog:
https://github.com/helm/helm/releases/tag/v3.17.0
* Notable Changes
- Allow pulling and installation by OCI digest
- Annotations and dependencies are now in chart metadata output
- New --take-ownership flag for install and upgrade commands
- SDK: Authorizer and registry authorizer are now configurable
- Removed the Kubernetes configuration file permissions check
- Added username/password to helm push and dependency
build/update subcommands
- Added toYamlPretty template function
-------------------------------------------------------------------
Mon Dec 16 21:45:40 UTC 2024 - dmueller@suse.com
- Update to version 3.16.4 (bsc#1234482, CVE-2024-45337):
* Bump golang.org/x/crypto from 0.30.0 to 0.31.0
* Bump the k8s-io group with 7 updates
-------------------------------------------------------------------
Thu Nov 14 13:05:38 UTC 2024 - dmueller@suse.com
- Update to version 3.16.3:
* fix: fix label name
* Fix typo in pkg/lint/rules/chartfile_test.go
* Increasing the size of the runner used for releases.
* fix(hooks): correct hooks delete order
* Bump github.com/containerd/containerd from 1.7.12 to 1.7.23
-------------------------------------------------------------------
Fri Oct 11 08:24:54 UTC 2024 - opensuse_buildservice@ojkastl.de
- Update to version 3.16.2:
* Revering change unrelated to issue #13176
* adds tests for handling of Helm index with broken chart
versions #13176
* improves handling of Helm index with broken helm chart versions
#13176
* Bump the k8s-io group with 7 updates
* adding check-latest:true
* Grammar fixes
* Fix typos
-------------------------------------------------------------------
Sat Sep 14 14:00:08 UTC 2024 - opensuse_buildservice@ojkastl.de
- Update to version 3.16.1:
* bumping version to 1.22.7
* Merge pull request #13327 from mattfarina/revert-11726
-------------------------------------------------------------------
Sat Sep 14 13:55:08 UTC 2024 - opensuse_buildservice@ojkastl.de
- Update to version 3.16.0:
Helm v3.16.0 is a feature release. Users are encouraged to
upgrade for the best experience.
* Notable Changes
- added sha512sum template function
- added ActiveHelp for cmds that don't take any more args
- drops very old Kubernetes versions support in helm create
- add --skip-schema-validation flag to helm 'install',
'upgrade' and 'lint'
- fixed bug to now use burst limit setting for discovery
- Added windows arm64 support
* Full changelog see
https://github.com/helm/helm/releases/tag/v3.16.0
-------------------------------------------------------------------
Wed Aug 14 16:54:27 UTC 2024 - opensuse_buildservice@ojkastl.de
@@ -37,7 +592,10 @@ Thu May 23 19:45:52 UTC 2024 - opensuse_buildservice@ojkastl.de
-------------------------------------------------------------------
Sat May 18 09:20:56 UTC 2024 - opensuse_buildservice@ojkastl.de
- Update to version 3.15.0:
- Update to version 3.15.0 (bsc#1220207, CVE-2024-26147,
bsc#1219969, CVE-2024-25620):
- obsoletes CVE-2024-26147.patch in older distributions
- obsoletes CVE-2024-25620.patch in odler distributions
Helm v3.15.0 is a feature release. Users are encouraged to
upgrade for the best experience.
* Updating to k8s 1.30 c4e37b3 (Matt Farina)

View File

@@ -1,4 +1,4 @@
name: helm
version: 3.15.4
mtime: 1723645632
commit: fa9efb07d9d8debbb4306d72af76a383895aa8c4
version: 4.0.5
mtime: 1768430626
commit: 1b6053d48b51673c5581973f5ae7e104f627fcf5

View File

@@ -1,7 +1,7 @@
#
# spec file for package helm
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,10 +16,8 @@
#
%define goipath helm.sh/helm/v3
%define git_dirty clean
Name: helm
Version: 3.15.4
Version: 4.0.5
Release: 0
Summary: The Kubernetes Package Manager
License: Apache-2.0
@@ -27,17 +25,24 @@ Group: Development/Languages/Other
URL: https://github.com/helm/helm
Source0: %{name}-%{version}.tar.gz
Source1: vendor.tar.gz
BuildRequires: golang-packaging
BuildRequires: golang(API) = 1.22
%{go_provides}
BuildRequires: bash-completion
BuildRequires: fish
BuildRequires: zsh
%if 0%{?suse_version} == 1600
# go is not available on Framework one for x86
ExcludeArch: %ix86
%endif
BuildRequires: golang(API) = 1.25
%description
Helm is a tool for managing Kubernetes charts. Charts are packages of pre-configured Kubernetes resources.
Helm is a tool for managing Kubernetes charts. Charts are packages of
pre-configured Kubernetes resources.
%package bash-completion
Summary: Bash Completion for %{name}
Group: System/Shells
Requires: %{name} = %{version}
Requires: bash-completion
Supplements: (%{name} and bash-completion)
BuildArch: noarch
@@ -48,6 +53,7 @@ Bash command line completion support for %{name}.
Summary: Zsh Completion for %{name}
Group: System/Shells
Requires: %{name} = %{version}
Requires: zsh
Supplements: (%{name} and zsh)
BuildArch: noarch
@@ -58,6 +64,7 @@ Zsh command line completion support for %{name}.
Summary: Fish Completion for %{name}
Group: System/Shells
Requires: %{name} = %{version}
Requires: fish
Supplements: (%{name} and fish)
BuildArch: noarch
@@ -68,37 +75,60 @@ Fish command line completion support for %{name}.
%autosetup -p1 -a1
%build
%goprep %{goipath}
export K8S_MINOR=$(grep k8s.io/client-go go.mod | cut -d. -f3)
export GO111MODULE=on
%ifnarch s390x
export K8S_MODULES_MAJOR_VER=1
export K8S_MODULES_MINOR_VER=$(grep k8s.io/client-go go.mod | cut -d. -f3)
echo "K8S_MODULES_MAJOR_VER is set to $K8S_MODULES_MAJOR_VER"
echo "K8S_MODULES_MINOR_VER is set to $K8S_MODULES_MINOR_VER"
%ifnarch %ix86 s390x riscv64
export CGO_ENABLED=0
%endif
%gobuild -trimpath -tags '' -mod vendor -buildmode pie -ldflags \
"-X %{goipath}/internal/version.version=v%{version} \
-X %{goipath}/internal/version.gitCommit=$(sed -n 's/commit: \(.*\)/\1/p' %_sourcedir/%{name}.obsinfo) \
-X %{goipath}/pkg/lint/rules.k8sVersionMajor=1 \
-X %{goipath}/pkg/lint/rules.k8sVersionMinor=$K8S_MINOR \
-X %{goipath}/pkg/chartutil.k8sVersionMajor=1 \
-X %{goipath}/pkg/chartutil.k8sVersionMinor=$K8S_MINOR \
-X %{goipath}/internal/version.gitTreeState=%{git_dirty}" cmd/helm
go build \
-trimpath \
-tags '' \
-mod vendor \
-buildmode pie \
-ldflags \
"-X helm.sh/helm/v4/internal/version.version=v%{version} \
-X helm.sh/helm/v4/internal/version.gitCommit=$(sed -n 's/commit: \(.*\)/\1/p' %_sourcedir/%{name}.obsinfo) \
-X helm.sh/helm/v4/internal/version.gitTreeState=clean \
-X helm.sh/helm/v4/internal/version.kubeClientVersionMajor=${K8S_MODULES_MAJOR_VER} \
-X helm.sh/helm/v4/internal/version.kubeClientVersionMinor=${K8S_MODULES_MINOR_VER} \
-X helm.sh/helm/v4/pkg/chart/common.k8sVersionMajor=${K8S_MODULES_MAJOR_VER} \
-X helm.sh/helm/v4/pkg/chart/common.k8sVersionMinor=${K8S_MODULES_MINOR_VER} \
-X helm.sh/helm/v4/pkg/chart/v2/lint/rules.k8sVersionMajor=${K8S_MODULES_MAJOR_VER} \
-X helm.sh/helm/v4/pkg/chart/v2/lint/rules.k8sVersionMinor=${K8S_MODULES_MINOR_VER} \
-X helm.sh/helm/v4/pkg/chartutil.k8sVersionMajor=${K8S_MODULES_MAJOR_VER} \
-X helm.sh/helm/v4/pkg/chartutil.k8sVersionMinor=${K8S_MODULES_MINOR_VER} \
-X helm.sh/helm/v4/pkg/internal/v3/lint/rules.k8sVersionMajor=${K8S_MODULES_MAJOR_VER} \
-X helm.sh/helm/v4/pkg/internal/v3/lint/rules.k8sVersionMinor=${K8S_MODULES_MINOR_VER} \
-X helm.sh/helm/v4/pkg/lint/rules.k8sVersionMajor=${K8S_MODULES_MAJOR_VER} \
-X helm.sh/helm/v4/pkg/lint/rules.k8sVersionMinor=${K8S_MODULES_MINOR_VER}" \
-o bin/%{name} ./cmd/helm
%install
export GO111MODULE=on
export CGO_ENABLED=0
%goinstall
install -D -m 0755 bin/%{name} %{buildroot}/%{_bindir}/%{name}
mkdir -p %{buildroot}%{_datarootdir}/bash-completion/completions
%{buildroot}/%{_bindir}/helm completion bash > %{buildroot}%{_datarootdir}/bash-completion/completions/%{name}
mkdir -p %{buildroot}%{_datarootdir}/zsh_completion.d
%{buildroot}/%{_bindir}/helm completion zsh > %{buildroot}%{_datarootdir}/zsh_completion.d/_%{name}
mkdir -p %{buildroot}%{_datarootdir}/zsh/site-functions
%{buildroot}/%{_bindir}/helm completion zsh > %{buildroot}%{_datarootdir}/zsh/site-functions/_%{name}
mkdir -p %{buildroot}%{_datadir}/fish/vendor_completions.d
%{buildroot}/%{_bindir}/helm completion fish > %{buildroot}%{_datarootdir}/fish/vendor_completions.d/%{name}.fish
%check
# requires network
rm -v pkg/plugin/installer/*installer_test.go
rm -v pkg/engine/engine_test.go
GO111MODULE=on go test ./...
rm -fv internal/plugin/installer/base_test.go
rm -fv internal/plugin/installer/http_installer_test.go
rm -fv internal/plugin/installer/installer_test.go
rm -fv internal/plugin/installer/vcs_installer_test.go
rm -fv internal/plugin/runtime_extismv1_test.go
rm -fv pkg/downloader/cache_test.go
rm -fv pkg/downloader/chart_downloader_test.go
rm -fv pkg/downloader/manager_test.go
rm -fv pkg/engine/engine_test.go
go test -p 2 ./...
%files
%doc README.md
@@ -106,16 +136,12 @@ GO111MODULE=on go test ./...
%{_bindir}/helm
%files bash-completion
%dir %{_datarootdir}/bash-completion/completions/
%{_datarootdir}/bash-completion/completions/%{name}
%files zsh-completion
%dir %{_datarootdir}/zsh_completion.d/
%{_datarootdir}/zsh_completion.d/_%{name}
%{_datarootdir}/zsh/site-functions/_%{name}
%files fish-completion
%dir %{_datarootdir}/fish
%dir %{_datarootdir}/fish/vendor_completions.d
%{_datarootdir}/fish/vendor_completions.d/%{name}.fish
%changelog

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:13198b6edd38fa183f2c780ab5df69019a512084cd1411035d32146ce38943a8
size 11081669
oid sha256:c4103c777ed9d2a52b916aed708ae193c064d3bb0349836a92abe2960acbbe02
size 13778055