Skip to content

Add KEDA templates, library testing, and docs#199

Merged
harness-jc merged 9 commits intomainfrom
feature/keda-templates-and-testing
Mar 18, 2026
Merged

Add KEDA templates, library testing, and docs#199
harness-jc merged 9 commits intomainfrom
feature/keda-templates-and-testing

Conversation

@harness-jc
Copy link
Collaborator

  • KEDA: ScaledObject and TriggerAuthentication templates with passthrough triggers/advanced/fallback; HPA ownership transfer by default
  • Docs: KEDA.md (usage, examples, multiple triggers, HPA coexistence)
  • Testing: ci/test-chart consumer + template smoke scenarios + helm-unittest
  • CI: test-library workflow (lint + template/unittest) on push and PR
  • README/values: KEDA stub, doc links, HPA/KEDA coexistence notes

- KEDA: ScaledObject and TriggerAuthentication templates with passthrough
  triggers/advanced/fallback; HPA ownership transfer by default
- Docs: KEDA.md (usage, examples, multiple triggers, HPA coexistence)
- Testing: ci/test-chart consumer + template smoke scenarios + helm-unittest
- CI: test-library workflow (lint + template/unittest) on push and PR
- README/values: KEDA stub, doc links, HPA/KEDA coexistence notes

Made-with: Cursor
…se define block

- Guard template: use index for create, add triggerAuthentication stub in test chart values
- Add missing end for define in _keda-trigger-auth.tpl (fix parse EOF)

Made-with: Cursor
- ScaledObject: guard with nested ifs so scaledObject/triggers never dereferenced when nil
- Test chart: add keda.scaledObject.triggers: [] in base values
- Pre-commit: add helm-common-tests hook (runs ci/run-tests.sh on commit)
- Docs: note pre-commit in TESTING.md
- Style: trailing whitespace and EOF fixes (pre-commit hooks)

Made-with: Cursor
…sted if

Avoid nil pointer when scaleTargetRef is absent (e.g. KEDA scenario without scaleTargetRef).

Made-with: Cursor
…tualService)

- Chart version 1.4.22 -> 1.5.0
- Add smoke scenarios for Ingress and VirtualService (ci-values + templates)
- Base values: global.ingress, global.istio, ingress.objects, virtualService.objects, service.port
- run-tests.sh: run Ingress and VirtualService scenarios
- Test chart dependency: harness-common 1.5.0
- TESTING.md: document full smoke coverage (HPA, PDB, KEDA, Ingress, VirtualService)

Made-with: Cursor
@gyoza
Copy link

gyoza commented Mar 18, 2026

Should we add the default team labels so we dont have to do another build in the future with another version increase? (I.e. what we're expecting in a kyverno policy)

@harness-jc harness-jc closed this Mar 18, 2026
@harness-jc harness-jc reopened this Mar 18, 2026
@harness-jc harness-jc merged commit 4f7b9fe into main Mar 18, 2026
4 checks passed
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