Skip to content

Commit 6f3d825

Browse files
committed
v0.17.0
1 parent ab52511 commit 6f3d825

11 files changed

Lines changed: 52 additions & 40 deletions

File tree

.github/workflows/release.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: goreleaser
1+
name: Create New Release
22

33
on:
44
push:
@@ -11,14 +11,14 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v4
14+
uses: actions/checkout@v5
1515
with:
1616
fetch-depth: 0
1717

1818
- name: Set up Go
19-
uses: actions/setup-go@v5
19+
uses: actions/setup-go@v6
2020
with:
21-
go-version: '1.23.4'
21+
go-version: '1.25.3'
2222

2323
- name: Run Tests
2424
working-directory: ./src
@@ -29,12 +29,12 @@ jobs:
2929
runs-on: ubuntu-latest
3030
steps:
3131
- name: Checkout
32-
uses: actions/checkout@v4
32+
uses: actions/checkout@v5
3333
with:
3434
fetch-depth: 0
3535

3636
- name: Set up Go
37-
uses: actions/setup-go@v5
37+
uses: actions/setup-go@v6
3838
with:
3939
go-version: '1.23.4'
4040

@@ -57,7 +57,7 @@ jobs:
5757
runs-on: ubuntu-latest
5858
steps:
5959
- name: Checkout
60-
uses: actions/checkout@v4
60+
uses: actions/checkout@v5
6161

6262
- name: Set up Docker Buildx
6363
uses: docker/setup-buildx-action@v3

.pre-commit-config.yaml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
repos:
22
# General pre-commit hooks
33
- repo: https://github.com/pre-commit/pre-commit-hooks
4-
rev: v5.0.0
4+
rev: v6.0.0
55
hooks:
66
- id: check-case-conflict
77
- id: check-docstring-first
@@ -11,9 +11,6 @@ repos:
1111
- id: detect-private-key
1212
- id: end-of-file-fixer
1313
- id: fix-byte-order-marker
14-
- id: fix-encoding-pragma
15-
args:
16-
- --remove
1714
- id: mixed-line-ending
1815
- id: check-added-large-files
1916
args:
@@ -29,7 +26,7 @@ repos:
2926
- id: check-ast
3027
# Go specific hooks
3128
- repo: https://github.com/tekwizely/pre-commit-golang
32-
rev: v1.0.0-rc.1
29+
rev: v1.0.0-rc.2
3330
hooks:
3431
- id: go-build-mod
3532
# - id: go-mod-tidy
@@ -40,20 +37,20 @@ repos:
4037
# - id: go-fmt-repo
4138
# Python specific hooks
4239
- repo: https://github.com/asottile/reorder_python_imports
43-
rev: v3.14.0
40+
rev: v3.16.0
4441
hooks:
4542
- id: reorder-python-imports
4643
args: [--application-directories, '.:src', --py312-plus]
4744
- repo: https://github.com/psf/black
48-
rev: 25.1.0
45+
rev: 25.9.0
4946
hooks:
5047
- id: black
5148
language_version: python3.12
5249
args:
5350
- --line-length
5451
- "140"
5552
- repo: https://github.com/pre-commit/mirrors-mypy
56-
rev: v1.15.0
53+
rev: v1.18.2
5754
hooks:
5855
- id: mypy
5956
args:

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
**Changelog**
22

33
- [2025](#2025)
4+
- [v0.17.0](#v0170)
45
- [v0.16.0](#v0160)
56
- [2024](#2024)
67
- [v0.15.0](#v0150)
@@ -9,6 +10,19 @@
910

1011
# 2025
1112

13+
## [v0.17.0](https://github.com/DaemonDude23/helmizer/releases/tag/v0.17.0)
14+
15+
February 10 2025
16+
17+
Just a maintenance release with various dependency updates. No code changes.
18+
19+
**Housekeeping**
20+
21+
- Updated Go to `1.25.3`.
22+
- Updated Go dependencies.
23+
- Updated Python from `3.12` to `3.13` version and dependencies (just for the diagrams).
24+
- Updated pre-commit hook versions.
25+
1226
## [v0.16.0](https://github.com/DaemonDude23/helmizer/releases/tag/v0.16.0)
1327

1428
February 10 2025

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Builder stage
2-
FROM docker.io/library/golang:1.23.4 AS builder
2+
FROM docker.io/library/golang:1.25.3 AS builder
33
WORKDIR /build
44
# Copy go mod files and download dependencies
55
COPY ./src/go.mod ./src/go.sum ./

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ kustomize: # this is essentially an overlay for your eventual kustomization.yam
183183
### Linux
184184
185185
```bash
186-
curl -L "https://github.com/DaemonDude23/helmizer/releases/download/v0.16.0/helmizer_0.16.0_linux_amd64.tar.gz" -o helmizer.tar.gz && \
186+
curl -L "https://github.com/DaemonDude23/helmizer/releases/download/v0.17.0/helmizer_0.17.0_linux_amd64.tar.gz" -o helmizer.tar.gz && \
187187
tar -xzf helmizer.tar.gz helmizer && \
188188
sudo mv helmizer /usr/local/bin/ && \
189189
rm helmizer.tar.gz && \
@@ -196,7 +196,7 @@ sudo chmod +x /usr/local/bin/helmizer
196196

197197
```dockerfile
198198
# Builder stage
199-
FROM ghcr.io/DaemonDude23/helmizer:v0.16.0 AS builder
199+
FROM ghcr.io/DaemonDude23/helmizer:v0.17.0 AS builder
200200

201201
# Final minimal stage
202202
FROM scratch
@@ -206,13 +206,14 @@ COPY --from=builder /usr/local/bin/helmizer /usr/local/bin/helmizer
206206
### Windows
207207

208208
1. Download the Windows version.
209-
2. Untar it and put it in your `$PATH``.
209+
2. Untar it and put it in your `$PATH`.
210210

211211
## Run
212212

213213
**For greater detail on running from examples (they assumes you've ran [helm template](https://helm.sh/docs/helm/helm_template/), see the [resource example](examples/resources/README.md))**
214214

215215
Input file:
216+
216217
```yaml
217218
helmizer:
218219
preCommands:
@@ -236,11 +237,13 @@ kustomize:
236237
```
237238
238239
Helmize-ify it:
240+
239241
```bash
240242
helmizer ./examples/resources/helmizer.yaml
241243
```
242244

243245
Output - enumerating the files within the specified directory:
246+
244247
```yaml
245248
apiVersion: kustomize.config.k8s.io/v1beta1
246249
kind: Kustomization
@@ -289,8 +292,7 @@ The `cert-manager` **Helm** chart is used for examples for its small scope. Here
289292

290293
---
291294

292-
Which looks easier to write/maintain through future chart updates for the [Prometheus Operator/kube-prometheus-stack](), this helmizer.yaml?
293-
295+
Which looks easier to write/maintain through future chart updates for the **Prometheus Operator/kube-prometheus-stack**, this helmizer.yaml?
294296

295297
```yaml
296298
helmizer:

docs/dev.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
**Dev Docs**
1+
# Developer Docs
22

3-
# Go init
3+
## Go init
44

55
- Install Go dependencies
66

@@ -18,19 +18,20 @@ cd ./src/
1818
rm -f go.mod ; go mod init daemondude23/helmizer/m ; go mod tidy
1919
```
2020

21-
# Build Executable
21+
## Build Executable
2222

2323
```bash
2424
cd ./src/
2525
go build -o ../build/test/helmizer
2626
```
2727

2828
If built on **NixOS**, you can override the interpreter so it'll work on a conventional Linux Distribution:
29+
2930
```bash
3031
patchelf --set-interpreter /lib64/ld-linux-x86-64.so.2 ../build/test/helmizer
3132
```
3233

33-
# Delete All Kustomization Files
34+
## Delete All Kustomization Files
3435

3536
- Use when test if the file is being created
3637

@@ -42,14 +43,14 @@ find . -type f -name kustomization.yaml -exec rm -f '{}' \;
4243
find . -type f -name helmizer.yaml -exec ./build/test/helmizer '{}' \;
4344
```
4445

45-
# Trigger goreleaser
46+
## Trigger goreleaser
4647

4748
```bash
48-
git tag v0.16.0
49-
git push origin v0.16.0
49+
git tag v0.17.0
50+
git push origin v0.17.0
5051
```
5152

52-
# Nix
53+
## Nix
5354

5455
- Installs some dependencies you can use to run **Helmizer**.
5556

docs/diagrams/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
diagrams==0.24.1
1+
diagrams==0.24.4

shell.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
pkgs.mkShell {
66
buildInputs = [
7-
pkgs.go_1_23 # this was the latest available version at the time of writing
7+
pkgs.go_1_25 # this was the latest available version at the time of writing
88
# for diagrams
99
pkgs.graphviz
10-
pkgs.python312
10+
pkgs.python313
1111
];
1212

1313
shellHook = ''

src/go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
module daemondude23/helmizer/m
22

3-
go 1.23.4
3+
go 1.25.2
44

55
require (
6-
github.com/alexflint/go-arg v1.5.1
6+
github.com/alexflint/go-arg v1.6.0
77
github.com/sirupsen/logrus v1.9.3
88
gopkg.in/yaml.v3 v3.0.1
99
)
1010

1111
require (
1212
github.com/alexflint/go-scalar v1.2.0 // indirect
13-
golang.org/x/sys v0.30.0 // indirect
13+
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8 // indirect
1414
)

src/go.sum

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
github.com/alexflint/go-arg v1.5.1 h1:nBuWUCpuRy0snAG+uIJ6N0UvYxpxA0/ghA/AaHxlT8Y=
2-
github.com/alexflint/go-arg v1.5.1/go.mod h1:A7vTJzvjoaSTypg4biM5uYNTkJ27SkNTArtYXnlqVO8=
1+
github.com/alexflint/go-arg v1.6.0 h1:wPP9TwTPO54fUVQl4nZoxbFfKCcy5E6HBCumj1XVRSo=
2+
github.com/alexflint/go-arg v1.6.0/go.mod h1:A7vTJzvjoaSTypg4biM5uYNTkJ27SkNTArtYXnlqVO8=
33
github.com/alexflint/go-scalar v1.2.0 h1:WR7JPKkeNpnYIOfHRa7ivM21aWAdHD0gEWHCx+WQBRw=
44
github.com/alexflint/go-scalar v1.2.0/go.mod h1:LoFvNMqS1CPrMVltza4LvnGKhaSpc3oyLEBUZVhhS2o=
55
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -15,8 +15,6 @@ github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5Cc
1515
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
1616
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8 h1:0A+M6Uqn+Eje4kHMK80dtF3JCXC4ykBgQG4Fe06QRhQ=
1717
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
18-
golang.org/x/sys v0.30.0 h1:QjkSwP/36a20jFYWkSue1YwXzLmsV5Gfq7Eiy72C1uc=
19-
golang.org/x/sys v0.30.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
2018
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
2119
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
2220
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

0 commit comments

Comments
 (0)