Commit ca336f1
Defalt val. of hpa.metrics to the correct type
This sets the hpa.metrics key to its correct default value. Which is an array and not a dict. Having it as a dict. gives issues as seen in #79. Which I hope to solve with this PR.
See: https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v2/#HorizontalPodAutoscalerSpec for the official ref. docs on HPA and the `metrics` key type specifically.
Thank you.
Signed-off-by: Lars Bengtsson <[email protected]>
Signed-off-by: Lars Bengtsson <[email protected]>1 parent 4a9f0dd commit ca336f1
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
243 | | - | |
| 243 | + | |
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| |||
0 commit comments