Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ by `values.yaml`.
### OCI Registry (recommended)

```bash
helm pull oci://ghcr.io/k8s-stuff/helm-framework --version 1.1.0
helm pull oci://ghcr.io/k8s-stuff/helm-framework --version 1.2.0
```

Or reference it directly as a dependency in your `Chart.yaml`:

```yaml
dependencies:
- name: helm-framework
version: "1.1.0"
version: "1.2.0"
repository: "oci://ghcr.io/k8s-stuff"
```

Expand All @@ -49,7 +49,7 @@ Then in your `Chart.yaml`:
```yaml
dependencies:
- name: helm-framework
version: "1.1.0"
version: "1.2.0"
repository: "https://k8s-stuff.github.io/helm-framework"
```

Expand Down
2 changes: 1 addition & 1 deletion plugins/helm-framework/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "helm-framework",
"description": "Scaffold and configure Helm charts that depend on the helm-framework library chart.",
"version": "1.1.0"
"version": "1.2.0"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: "Migrate an existing hand-rolled Helm chart onto the helm-framework
## What this skill does

Guides migrating an existing chart's hand-rolled templates onto
`helm-framework` (v1.1.0 at generation time) safely. This is a distinct,
`helm-framework` (v1.2.0 at generation time) safely. This is a distinct,
harder job from scaffolding a new chart (see the `helm-framework` skill for
that): `helm-framework` reads the consumer's flat `.Values` directly, with no
`additionalProperties: false` enforcement, so a value nothing reads after
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# helm-framework migration playbook

Full detail for each of the five phases summarized in `SKILL.md`. Generated
for version `1.1.0` — the version baked into Phase 0's comparison below.
for version `1.2.0` — the version baked into Phase 0's comparison below.

## Phase 0 — Preflight (version currency)

Before touching anything, compare three versions:

1. The consumer's own dependency pin in `Chart.yaml`
(`dependencies[].version` for `helm-framework`).
2. The version this skill was generated against: `1.1.0`.
2. The version this skill was generated against: `1.2.0`.
3. The newest published version, resolved in this order:
- `helm show chart oci://ghcr.io/k8s-stuff/helm-framework`
- falling back to the gh-pages index (`helm repo add` + `helm search repo
Expand All @@ -18,13 +18,13 @@ Before touching anything, compare three versions:

Three outcomes:

- **newest > `1.1.0` (this skill's own baked version)** — the installed
- **newest > `1.2.0` (this skill's own baked version)** — the installed
plugin is stale. Tell the user to update the plugin before proceeding, and
warn explicitly that this playbook may not know about values added in
newer releases.
- **pin < newest** — bump the dependency *before* migrating, so the
migration work isn't done twice against two different contracts.
- **every lookup failed** — degrade to comparing the pin against `1.1.0`
- **every lookup failed** — degrade to comparing the pin against `1.2.0`
only, and state plainly that the upper bound could not be verified.

**Preflight advises; it never blocks.** Report what you found and proceed
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# helm-framework values contract (v1.1.0)
# helm-framework values contract (v1.2.0)

Generated from `helm/helm-framework/templates/` and `helm/helm-framework/values.yaml`.
Do not edit by hand. This is what the migration playbook uses to classify a
Expand Down
4 changes: 2 additions & 2 deletions plugins/helm-framework/skills/helm-framework/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ point and configure everything through their own `values.yaml`.
```yaml
dependencies:
- name: helm-framework
version: "1.1.0"
version: "1.2.0"
repository: "oci://ghcr.io/k8s-stuff"
```

Expand All @@ -30,7 +30,7 @@ dependencies:
```yaml
dependencies:
- name: helm-framework
version: "1.1.0"
version: "1.2.0"
repository: "https://k8s-stuff.github.io/helm-framework"
```

Expand Down
Loading