Skip to content

test: add helm-unittest coverage for configmap and servicemonitor#337

Open
ChrisJBurns wants to merge 1 commit into
mainfrom
test/helm-unittest-configmap-servicemonitor
Open

test: add helm-unittest coverage for configmap and servicemonitor#337
ChrisJBurns wants to merge 1 commit into
mainfrom
test/helm-unittest-configmap-servicemonitor

Conversation

@ChrisJBurns

Copy link
Copy Markdown
Contributor

First helm-unittest suites for the backstage chart, part of #335.

  • app-config ConfigMap — only renders when backstage.appConfig is set, and embeds the config under the app-config.yaml key
  • ServiceMonitor — off by default, and when enabled has the right kind/apiVersion, endpoint port/path, selector, and labels

Tests run via a pre-commit hook and a new CI job (helm unittest charts/backstage) on every PR.

@ChrisJBurns ChrisJBurns requested a review from a team as a code owner June 13, 2026 15:20
@ChrisJBurns ChrisJBurns force-pushed the test/helm-unittest-configmap-servicemonitor branch from 63a24e5 to 1a1f728 Compare June 13, 2026 15:25
Adds the first helm-unittest suites for the backstage chart (part of
#335): the app-config ConfigMap and the ServiceMonitor, reusing the
existing ci/*-values.yaml seeds. Runs them via a local pre-commit hook
(with helm and the unittest plugin set up in the pre-commit workflow),
bumps the chart to 2.8.2, regenerates the README, and adds a chart-level
.helmignore so the tests dir is not packaged.

Signed-off-by: Chris Burns <29541485+ChrisJBurns@users.noreply.github.com>
@ChrisJBurns ChrisJBurns force-pushed the test/helm-unittest-configmap-servicemonitor branch from 1a1f728 to 0a703a2 Compare June 13, 2026 15:33
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.

1 participant