Skip to content
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.

HPA Bug fix with updated api version #61

Merged
merged 1 commit into from
Dec 8, 2023

Conversation

bhataprameya
Copy link
Contributor

@bhataprameya bhataprameya commented Dec 8, 2023

HPA Bug fix with updated API version

HPA Bug fix with updated API version
Signed-off-by: AB <[email protected]>
@bhataprameya
Copy link
Contributor Author

@charlie-haley Can you prioritize this Fix please. I think I broke HPA when I updated to v2

@@ -17,13 +17,17 @@ spec:
- type: Resource
Copy link
Contributor

@charlie-haley charlie-haley Dec 8, 2023

Choose a reason for hiding this comment

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

Instead of trying to define the resources, we should probably just change this to take any YAML object, then we dont have to worry about target types/backwards compability, e.g something like:

{{- with .Values.autoscaling.metrics }}
  metrics:
{{- toYaml . | indent 4 }}
{{- end }}

Copy link
Contributor

Choose a reason for hiding this comment

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

I'll merge your current change however, as this will be a breaking change and we'll probably want to ship a few of them together

@charlie-haley charlie-haley merged commit 752c75e into redpanda-data:main Dec 8, 2023
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants