Fixed: if triton is disabled, ignore autoscaling

This commit is contained in:
Valeriano Manassero 2023-06-14 10:00:28 +02:00
parent 550b7ca527
commit 17a1abbac2

View File

@ -1,3 +1,4 @@
{{- if .Values.clearml_serving_triton.enabled }}
{{- if .Values.clearml_serving_triton.autoscaling.enabled }}
apiVersion: {{ include "common.capabilities.hpa.apiVersion" ( dict "context" $ ) }}
kind: HorizontalPodAutoscaler
@ -40,3 +41,4 @@ spec:
{{- end }}
{{- end }}
{{- end }}
{{- end }}