redpanda-data / redpanda-connect-helm-chart

Helm 3 repository for benthosdev/benthos
MIT License
36 stars 26 forks source link

Update HPA to accept any YAML for metrics #63

Closed charlie-haley closed 9 months ago

charlie-haley commented 11 months ago

As mentioned on PR https://github.com/benthosdev/benthos-helm-chart/pull/61, we should update the HPA configuration to accept any YAML for metrics, this will save on the maintenance burden of maintaining individual properties

E.g

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