Skip to content

Commit d499369

Browse files
committed
feat: ✨ add an experimental Traefik chart (simplification proposal)
1 parent 0e7102f commit d499369

108 files changed

Lines changed: 39335 additions & 0 deletions

File tree

Some content is hidden

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

.github/workflows/experimental.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: experimental chart - tests
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- "experimental/**"
7+
- ".github/workflows/experimental.yml"
8+
# stable CRDs are mirrored into experimental/crds — re-check on bumps
9+
- "traefik/crds/**"
10+
push:
11+
branches: [ master ]
12+
paths:
13+
- "experimental/**"
14+
- "traefik/crds/**"
15+
16+
permissions:
17+
contents: read
18+
19+
jobs:
20+
test:
21+
runs-on: ubuntu-latest
22+
defaults:
23+
run:
24+
working-directory: experimental
25+
steps:
26+
- uses: actions/checkout@v4
27+
- uses: azure/setup-helm@v4
28+
- name: Install helm-unittest plugin
29+
run: helm plugin install https://github.com/helm-unittest/helm-unittest
30+
- name: CRDs in sync with the stable chart
31+
run: ./hack/check-crds-sync.sh
32+
- name: Unit tests
33+
run: helm unittest .
34+
- name: Lint
35+
run: helm lint .
36+
- name: Render defaults
37+
run: helm template traefik . >/dev/null
38+
- name: values.schema.json is up to date
39+
# Regenerate and fail if it differs from the committed file, so
40+
# values.yaml @schema annotations can't drift from the schema.
41+
# Pin the plugin version: its output is not stable across releases.
42+
run: |
43+
python3 ./hack/test_build_schema.py
44+
helm plugin install https://github.com/losisin/helm-values-schema-json --version v2.5.0 --verify=false
45+
python3 ./hack/build_schema.py
46+
git diff --exit-code values.schema.json

experimental/.helmignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Patterns to ignore when packaging/loading the chart.
2+
.git/
3+
.gitignore
4+
.DS_Store
5+
.vscode/
6+
.idea/
7+
*.bak
8+
*.tmproj
9+
# Editor / tooling dotfiles that are not chart content.
10+
.mcp.json
11+
__pycache__/

experimental/Chart.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
apiVersion: v2
2+
name: traefik-experimental
3+
description: EXPERIMENTAL Traefik chart (simplification proposal) — unreleased, not for production
4+
type: application
5+
version: 0.1.0
6+
appVersion: "v3.7.5"
7+
# Matches the Kubernetes OpenAPI version values.schema.json is built
8+
# against (hack/build_schema.py K8S_VERSION) so the schema's validation
9+
# surface and the declared support window stay in lockstep.
10+
kubeVersion: ">=1.32.0-0"
11+
keywords:
12+
- traefik
13+
- ingress
14+
home: https://traefik.io
15+
sources:
16+
- https://github.com/traefik/traefik-helm-chart
17+
icon: https://raw.githubusercontent.com/traefik/traefik/master/docs/content/assets/img/traefik.logo.png
18+
# Supported Traefik Proxy + Hub version ranges. Templates read these
19+
# via `index .Chart.Annotations "..."` (matches the upstream chart's
20+
# convention from PR traefik/traefik-helm-chart#1791) so version bumps
21+
# happen here, not buried in helpers.
22+
annotations:
23+
traefik.io/proxy-min-version: v3.6.0
24+
traefik.io/proxy-max-version: v3.7.5
25+
traefik.io/hub-min-version: v3.19.0
26+
traefik.io/hub-max-version: v3.19.4

0 commit comments

Comments
 (0)