autoscaling.apiVersion

This commit is contained in:
shcherbak 2024-03-26 23:49:56 +02:00 committed by Boky
parent 4b46b1d173
commit e3898ed071
2 changed files with 4 additions and 3 deletions

View file

@ -3,7 +3,7 @@
{{- $fullName := include (print $chart ".fullname") . -}}
{{- $labels := include (print $chart ".labels") . -}}
{{- $kind := "StatefulSet" -}}
apiVersion: autoscaling/v2beta1
apiVersion: {{ .Values.autoscaling.apiVersion }}
kind: HorizontalPodAutoscaler
metadata:
name: {{ $fullName | quote }}

View file

@ -39,7 +39,7 @@ metrics:
annotations: {}
port: 9154
path: /metrics
image:
image:
repository: "boky/postfix-exporter"
tag: "latest"
@ -95,6 +95,7 @@ autoscaling:
# targetMemoryUtilizationPercentage: 80
labels: {}
annotations: {}
apiVersion: "autoscaling/v2beta1"
nodeSelector: {}
tolerations: []
@ -184,7 +185,7 @@ dns:
# - 8.8.8.8
# - 8.8.4.4
searches: ""
# searches:
# searches:
# - "default.svc.cluster.local"
# - "svc.cluster.local"
# - "cluster.local"