Skip to content

Commit

Permalink
autoscaling.apiVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
shcherbak authored and bokysan committed Apr 21, 2024
1 parent 4b46b1d commit e3898ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion helm/mail/templates/hpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
5 changes: 3 additions & 2 deletions helm/mail/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ metrics:
annotations: {}
port: 9154
path: /metrics
image:
image:
repository: "boky/postfix-exporter"
tag: "latest"

Expand Down Expand Up @@ -95,6 +95,7 @@ autoscaling:
# targetMemoryUtilizationPercentage: 80
labels: {}
annotations: {}
apiVersion: "autoscaling/v2beta1"

nodeSelector: {}
tolerations: []
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit e3898ed

Please sign in to comment.