Skip to content

fix(chart): serve the autoscaler from autoscaling/v2 - #177

Merged
saidsef merged 3 commits into
mainfrom
fix/chart-autoscaling-v2
Oct 13, 2026
Merged

saidsef merged 3 commits into
mainfrom
fix/chart-autoscaling-v2

Conversation

@saidsef

@saidsef saidsef commented Oct 13, 2026

Copy link
Copy Markdown
Owner

Summary

The chart renders its HorizontalPodAutoscaler as autoscaling/v2, so autoscaling.enabled=true installs on the Kubernetes versions the chart supports. The stale helm-docs README leaves the chart directory, and the chart version moves to 0.3.4.

Related Issues

Fixes #176.

Changes Made

  • The CPU and memory targets sit under target with type: Utilization, the shape autoscaling/v2 takes.
  • The release step copies the root README into the chart, so the 0.3.4 package carries the README from main.

Testing

  • helm lint - passes at 0.3.4
  • helm install --set autoscaling.enabled=true on Kubernetes 1.37 in kind - creates the autoscaler, where chart 0.3.3 fails with no matches for kind "HorizontalPodAutoscaler" in version "autoscaling/v2beta1"
  • helm test - Succeeded
  • helm package after the release step's README copy - the package holds the root README

Checklist

  • Chart.yaml raises the version to 0.3.4

The chart rendered its HorizontalPodAutoscaler as autoscaling/v2beta1,
which Kubernetes stopped serving in 1.25. Chart.yaml requires 1.27 or
later, so an install with autoscaling.enabled set to true failed on
every cluster the chart supports. The template now renders
autoscaling/v2, with each target as a Utilization type.

- templates/hpa.yaml moves the CPU and memory targets under target.
- An install with autoscaling on creates the autoscaler, where 0.3.3
  fails with no matches for kind HorizontalPodAutoscaler.
The chart README came from helm-docs at chart 0.2.10 and described
values that have changed since. The Charts workflow copies the root
README over it before each release, so no published chart carried it.
Readers find the values in values.yaml and on the docs site.

- charts/reverse-geocoding/README.md goes.
- A package built the way the release builds it carries the root README.
Chart 0.3.4 carries the autoscaling/v2 template. Chart-testing expects
a higher version for any change under charts/, and appVersion follows
the version through the YAML anchor.

- Chart.yaml sets version 0.3.4.
- The chart lints cleanly at the new version.
@saidsef saidsef self-assigned this Oct 13, 2026
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@saidsef
saidsef merged commit fb29168 into main Oct 13, 2026
3 checks passed
@saidsef
saidsef deleted the fix/chart-autoscaling-v2 branch October 13, 2026 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working maintenance mcp

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(chart): serve the autoscaler from autoscaling/v2

1 participant