Skip to content

Commit

Permalink
Merge pull request #25 from Cray-HPE/CASMINST-3406
Browse files Browse the repository at this point in the history
CASMINST-3406: Fix HorizontalPodAutoscaler template for ingress-gateways
  • Loading branch information
johren-hpe authored Dec 13, 2021
2 parents ebc564e + 2cb1581 commit f056433
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion kubernetes/cray-istio/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
version: 2.4.2
version: 2.4.3
name: cray-istio
description: Cray Istio for cluster service mesh including service gateway/sidecars, monitoring etc.
keywords:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{{- if and .autoscaleEnabled .autoscaleMin .autoscaleMax }}
{{- range $name, $options:= .Values.deployments }}
{{- if and $options.autoscaleEnabled $options.autoscaleMin $options.autoscaleMax }}
---
apiVersion: autoscaling/v2beta1
kind: HorizontalPodAutoscaler
metadata:
name: {{ $name }}
namespace: {{ $options.namespace | default .Release.Namespace }}
namespace: {{ $options.namespace | default $.Release.Namespace }}
labels:
{{ .labels | toYaml | indent 4 }}
release: {{ $.Release.Name }}
Expand Down

0 comments on commit f056433

Please sign in to comment.