Skip to content

Commit a6bcf29

Browse files
authored
v0.18.0 (#40)
1 parent 847f026 commit a6bcf29

File tree

49 files changed

+526
-89
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+526
-89
lines changed

.github/workflows/release.yaml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v5
14+
uses: actions/checkout@v6
1515
with:
1616
fetch-depth: 0
1717

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

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

3636
- name: Set up Go
3737
uses: actions/setup-go@v6
3838
with:
39-
go-version: '1.25.3'
39+
go-version: '1.25.6'
4040

4141
- name: Set up Docker Buildx
4242
uses: docker/setup-buildx-action@v3
@@ -57,7 +57,7 @@ jobs:
5757
runs-on: ubuntu-latest
5858
steps:
5959
- name: Checkout
60-
uses: actions/checkout@v5
60+
uses: actions/checkout@v6
6161

6262
- name: Set up Docker Buildx
6363
uses: docker/setup-buildx-action@v3
@@ -71,12 +71,17 @@ jobs:
7171
username: ${{ github.actor }}
7272
password: ${{ secrets.GITHUB_TOKEN }}
7373

74-
- name: Build and Push Docker Image
74+
- name: Build and Push Docker Images
7575
run: |
7676
docker buildx build --platform linux/amd64,linux/arm64,linux/386 \
7777
-t ghcr.io/daemondude23/helmizer/helmizer:${{ github.ref_name }} \
7878
-t ghcr.io/daemondude23/helmizer/helmizer:latest \
7979
--push .
80+
# docker buildx build --platform linux/amd64,linux/arm64,linux/386 \
81+
# -f Dockerfile.helm \
82+
# -t ghcr.io/daemondude23/helmizer/helmizer-helm:${{ github.ref_name }} \
83+
# -t ghcr.io/daemondude23/helmizer/helmizer-helm:latest \
84+
--push .
8085
8186
permissions:
8287
contents: write

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ repos:
2626
- id: check-ast
2727
# Go specific hooks
2828
- repo: https://github.com/tekwizely/pre-commit-golang
29-
rev: v1.0.0-rc.2
29+
rev: v1.0.0-rc.4
3030
hooks:
3131
- id: go-build-mod
3232
# - id: go-mod-tidy
@@ -42,15 +42,15 @@ repos:
4242
- id: reorder-python-imports
4343
args: [--application-directories, '.:src', --py312-plus]
4444
- repo: https://github.com/psf/black
45-
rev: 25.9.0
45+
rev: 26.1.0
4646
hooks:
4747
- id: black
4848
language_version: python3.12
4949
args:
5050
- --line-length
5151
- "140"
5252
- repo: https://github.com/pre-commit/mirrors-mypy
53-
rev: v1.18.2
53+
rev: v1.19.1
5454
hooks:
5555
- id: mypy
5656
args:

.vscode/launch.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,16 @@
3333
"request": "launch",
3434
"type": "go"
3535
},
36+
{
37+
"args": [
38+
"--log-level=INFO",
39+
"../examples/buildMetadata/helmizer.yaml",
40+
],
41+
"name": "buildMetadata",
42+
"program": "${workspaceFolder}/src/",
43+
"request": "launch",
44+
"type": "go"
45+
},
3646
{
3747
"args": [
3848
"--log-level=INFO",
@@ -83,6 +93,16 @@
8393
"request": "launch",
8494
"type": "go"
8595
},
96+
{
97+
"args": [
98+
"--log-level=INFO",
99+
"../examples/helmCharts/helmizer.yaml",
100+
],
101+
"name": "helmCharts",
102+
"program": "${workspaceFolder}/src/",
103+
"request": "launch",
104+
"type": "go"
105+
},
86106
{
87107
"args": [
88108
"--log-level=INFO",
@@ -93,6 +113,16 @@
93113
"request": "launch",
94114
"type": "go"
95115
},
116+
{
117+
"args": [
118+
"--log-level=INFO",
119+
"../examples/labels/helmizer.yaml",
120+
],
121+
"name": "labels",
122+
"program": "${workspaceFolder}/src/",
123+
"request": "launch",
124+
"type": "go"
125+
},
96126
{
97127
"args": [
98128
"--log-level=INFO",

CHANGELOG.md

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

3+
- [2026](#2026)
4+
- [v0.18.0](#v0180)
35
- [2025](#2025)
46
- [v0.17.0](#v0170)
57
- [v0.16.0](#v0160)
@@ -8,6 +10,33 @@
810

911
---
1012

13+
# 2026
14+
15+
## [v0.18.0](https://github.com/DaemonDude23/helmizer/releases/tag/v0.18.0)
16+
17+
January 20 2025
18+
19+
**Enhancements**
20+
21+
- Added `buildMetadata`, `helmCharts`, and `labels` support in generated kustomization output, plus examples for each.
22+
- Added `--config-glob` flag so that you don't need to use other recursive tools like `find`.
23+
24+
**Fixes**
25+
26+
- Fixed `labels` typing and the `kustomizationPath` config key so configs load and render correctly.
27+
- Added CA certificates to scratch images for TLS support.
28+
29+
**Docs**
30+
31+
- Updated README configuration examples, `docker` usage, and example lists (including `patchesStrategicMerge` paths).
32+
33+
**Housekeeping**
34+
35+
- Updated CI tooling (checkout `v6`), Go versions (Docker builder + CI to `1.25.6`, module `go` to `1.25`), and release CI now publishes the `helmizer-helm` image.
36+
- Updated pre-commit `mypy` to `v1.19.1` and `diagrams` to `0.25.1`.
37+
- Added VS Code launch entries for `buildMetadata`, `helmCharts`, and `labels` examples.
38+
- Updated examples with latest `cert-manager` chart version.
39+
1140
# 2025
1241

1342
## [v0.17.0](https://github.com/DaemonDude23/helmizer/releases/tag/v0.17.0)

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Builder stage
2-
FROM docker.io/library/golang:1.25.3 AS builder
2+
FROM docker.io/library/golang:1.25.6 AS builder
33
WORKDIR /build
44
# Copy go mod files and download dependencies
55
COPY ./src/go.mod ./src/go.sum ./
@@ -13,5 +13,7 @@ RUN CGO_ENABLED=0 go build -ldflags="-s -w" -o helmizer .
1313
FROM scratch AS final
1414
# Copy the helmizer binary to a known location
1515
COPY --from=builder /build/helmizer /usr/local/bin/helmizer
16+
# Provide CA certificates for TLS
17+
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
1618
# By default, set the binary as the entry point in case you want to run it
1719
ENTRYPOINT ["/usr/local/bin/helmizer"]

Dockerfile.helm

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Builder stage
2+
FROM docker.io/library/golang:1.25.6 AS builder
3+
WORKDIR /build
4+
# Copy go mod files and download dependencies
5+
COPY ./src/go.mod ./src/go.sum ./
6+
RUN go mod download
7+
# Copy the rest of the source code
8+
COPY ./src/ ./
9+
# Build the helmizer binary with CGO disabled for a fully static binary
10+
RUN CGO_ENABLED=0 go build -ldflags="-s -w" -o helmizer .
11+
12+
# Helm stage
13+
FROM docker.io/alpine/helm:4.0.5 AS helm
14+
15+
# Final stage
16+
FROM scratch AS final
17+
# Copy the helm binary and helmizer binary to a known location
18+
COPY --from=helm /usr/bin/helm /usr/local/bin/helm
19+
COPY --from=builder /build/helmizer /usr/local/bin/helmizer
20+
# Provide CA certificates for TLS
21+
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
22+
# By default, set the binary as the entry point in case you want to run it
23+
ENTRYPOINT ["/usr/local/bin/helmizer"]

0 commit comments

Comments
 (0)