Skip to content

chore: fix headlamp releasing - #18

Merged
oliverbaehler merged 4 commits into
mainfrom
feat/add-controller-opts
Oct 15, 2026
Merged

oliverbaehler merged 4 commits into
mainfrom
feat/add-controller-opts

Conversation

@oliverbaehler

Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: Oliver Baehler <oliver@sudo-i.net>
Signed-off-by: Oliver Baehler <oliver@sudo-i.net>
Signed-off-by: Oliver Baehler <oliver@sudo-i.net>
Copilot AI balanced review requested due to automatic review settings October 15, 2026 08:30
@codecov

codecov Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 15.38462% with 11 lines in your changes missing coverage. Please review.
✅ Project coverage is 70.25%. Comparing base (2272073) to head (47ffd20).

Files with missing lines Patch % Lines
cmd/main.go 0.00% 11 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #18      +/-   ##
==========================================
- Coverage   70.42%   70.25%   -0.18%     
==========================================
  Files          16       16              
  Lines        1170     1180      +10     
==========================================
+ Hits          824      829       +5     
- Misses        345      350       +5     
  Partials        1        1              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The shared concurrency group can cancel pending tagged releases before their artifacts are published.

1 open finding
What changed in this PR

Integrates Headlamp packaging into the controller release pipeline, while tightening ChangeWindow identity requirements and expanding Helm configuration.

Changes:

  • Builds and packages Headlamp through GoReleaser, then publishes its metadata.
  • Requires service accounts for all windows and bundles accounts and permissions with examples.
  • Adds Helm schema generation and configurable controller concurrency and API limits.
File Description
Taskfile.yml Adds Headlamp release builds and Helm schema checks.
playground/​README.md Documents self-contained example bundles.
playground/​manifests/​kustomization.yaml Removes standalone executor permissions reference.
playground/​manifests/​examples/​quickstart.yaml Bundles a dedicated executor and permissions.
playground/​manifests/​examples/​node-pool-maintenance.yaml Adds the required service account.
playground/​manifests/​examples/​maintenance-only.yaml Adds the required service account.
playground/​manifests/​examples/​freeze-except-pods.yaml Adds the required service account.
playground/​manifests/​examples/​executor-rbac.yaml Removes the separate permissions manifest.
playground/​manifests/​examples/​conditional-maintenance.yaml Adds the required service account.
playground/​manifests/​examples/​after-hours.yaml Bundles executor permissions.
playground/​manifests/​examples/​after-hours-executor-rbac.yaml Removes the separate permissions manifest.
playground/​manifests/​examples/​addons_v1alpha1_changewindow.yaml Bundles a dedicated executor and permissions.
playground/​manifests/​dev/​readiness.yaml Supplies a service-account reference.
playground/​manifests/​demo/​window.yaml Bundles demo executor permissions.
internal/​testutil/​fixtures.go Adds an identity to shared fixtures.
internal/​policy/​policy.go Validates service accounts for every window.
internal/​policy/​policy_test.go Tests identity validation and bundled examples.
internal/​controller/​suite_test.go Tests service-account schema enforcement.
internal/​admission/​handler_test.go Tests identity validation on admission.
headlamp/​src/​Details.tsx Reports missing service accounts.
headlamp/​README.md Documents unified release publishing.
e2e/​wildcard_test.go Loads the bundled freeze example.
e2e/​status_test.go Adds a window identity.
e2e/​matching_test.go Updates identities and example loading.
e2e/​bootstrap_test.go Adds an infrastructure-guard identity.
e2e/​after_hours_test.go Adds a bundled-example loader.
docs/​layouts/​_partials/​window-example.html Handles multi-document example rendering.
docs/​data/​window_example.yaml Explains required window identities.
docs/​content/​docs/​reference/​api.md Updates the generated identity reference.
docs/​content/​docs/​guides/​security.md Documents identity migration and bundled permissions.
docs/​content/​docs/​getting-started/​overview.md Clarifies admission-only identity requirements.
docs/​content/​docs/​getting-started/​installation.md Updates installation and example commands.
docs/​content/​docs/​examples/​node-pool.md Documents the bundled identity.
docs/​content/​docs/​examples/​freeze-except-pods.md Documents the bundled identity.
docs/​content/​docs/​examples/​downscale.md Explains bundled executor permissions.
docs/​content/​docs/​examples/​deployment-freeze.md Documents the required identity.
docs/​content/​docs/​examples/​conditional-changes.md Documents the bundled identity.
docs/​content/​docs/​examples/​after-hours.md Explains bundled executor permissions.
docs/​content/​docs/​examples/​_index.md Introduces self-contained example bundles.
docs/​content/​docs/​development/​playground.md Explains demo and example packaging.
DEVELOPMENT.md Documents Helm schema generation.
devbox.lock Locks the Helm schema plugin.
devbox.json Configures the Helm schema plugin.
cmd/​main.go Adds worker and API-rate flags.
charts/​change-windows/​values.yaml Adds controller settings and schema annotations.
charts/​change-windows/​values.schema.json Adds generated values validation.
charts/​change-windows/​templates/​deployment.yaml Passes controller tuning flags.
charts/​change-windows/​README.md Documents controller tuning values.
charts/​change-windows/​crds/​addons.projectcapsule.dev_changewindows.yaml Requires and validates service-account references.
api/​v1alpha1/​changewindow_types.go Defines required identity validation.
.goreleaser.yml Builds and archives Headlamp.
.github/​workflows/​releaser.yml Combines release and metadata publication.
.github/​workflows/​releaser-dry-run.yml Includes Headlamp changes in release checks.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/releaser.yml
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@bakito
bakito self-requested a review October 15, 2026 09:16
@oliverbaehler
oliverbaehler merged commit 6cd339c into main Oct 15, 2026
18 of 23 checks passed
@oliverbaehler
oliverbaehler deleted the feat/add-controller-opts branch October 15, 2026 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants