Skip to content

K8s object helm charts#57

Draft
ameijer wants to merge 1 commit into
masterfrom
cursor/k8s-object-helm-charts-a60c
Draft

K8s object helm charts#57
ameijer wants to merge 1 commit into
masterfrom
cursor/k8s-object-helm-charts-a60c

Conversation

@ameijer

@ameijer ameijer commented Dec 29, 2025

Copy link
Copy Markdown
Owner

Adds new Helm charts for ResourceQuota and LimitRange Kubernetes objects, including comprehensive unit tests, CI integration, and documentation, as requested in issue #44.


Open in Cursor Open in Web


Note

Introduces two new Kubernetes primitive charts and CI unit testing.

  • Adds charts/resourcequota and charts/limitrange with templates, _helpers.tpl, values.yaml, README.md, and NOTES.txt
  • Provides example configs under ci/ci-values.yaml and helm-unittest suites in tests/*.yaml
  • Updates CI workflow .github/workflows/ci.yaml to install the helm-unittest plugin and run tests for changed charts (skips lib-k8s-as-helm)
  • Updates repo README.md to mark and link ResourceQuota and LimitRange as supported

Written by Cursor Bugbot for commit d2774d2. This will update automatically on new commits. Configure here.

This commit introduces two new Helm charts, LimitRange and ResourceQuota, to the k8s-as-helm repository. It also updates the CI workflow to include helm-unittest for testing these new charts.

Co-authored-by: cursor <cursor@exoatmospherics.com>
@cursor

cursor Bot commented Dec 29, 2025

Copy link
Copy Markdown

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This is the final PR Bugbot will review for you during this billing cycle

Your free Bugbot reviews will reset on January 18

Details

You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

Comment thread .github/workflows/ci.yaml
continue
fi
if compgen -G "charts/${chart}/tests/*.yaml" > /dev/null; then
helm unittest "charts/${chart}"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

CI script doubles chart path causing tests to never run

The ct list-changed command returns paths like charts/resourcequota, but the script prepends charts/ again in the compgen check and helm unittest command, creating invalid paths like charts/charts/resourcequota. This causes the unit test step to either always skip tests (if no matching path found) or fail (if attempting to run). The library chart exclusion check on line 43 also compares chart (which contains charts/lib-k8s-as-helm) against just lib-k8s-as-helm, so it will never match.

Additional Locations (1)

Fix in Cursor Fix in Web

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.

2 participants