Skip to content

Conversation

@MuriukiPM
Copy link
Contributor

Kubito Helm Charts PR Checklist

Thank you for your contribution! Please ensure the following:

  • Chart Version: Updated version in Chart.yaml for the relevant chart.

  • [] README Update: If values.yaml was changed, run:

    readme-generator -v charts/your-chart/values.yaml -r charts/your-chart/README.md
  • Testing: Tested the chart locally, and it works as expected.

Changes Summary

When an HPA is enabled, it is recommended that the value of spec.replicas of the Deployment be removed from its manifest, see official documentation
This PR adds a check for when autoscaling is enabled, if not enabled, use the replicaCount value from the values file, else remove configuration.

Related Issues

@nushkovg nushkovg self-assigned this May 29, 2025
@nushkovg nushkovg merged commit b4ae89b into kubitodev:main May 29, 2025
1 check passed
@nushkovg
Copy link
Contributor

Nice catch! Thanks for the contribution.

@MuriukiPM MuriukiPM deleted the fix-deployment branch May 30, 2025 12:51
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