Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CASMPET-7248: Use apiVersion autoscaling/v2 for HorizontalPodAutoscaler #47

Merged
merged 2 commits into from
Jan 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions kubernetes/cray-istio/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# MIT License
#
# (C) Copyright 2022-2024 Hewlett Packard Enterprise Development LP
# (C) Copyright 2022-2025 Hewlett Packard Enterprise Development LP
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
Expand All @@ -22,7 +22,7 @@
# OTHER DEALINGS IN THE SOFTWARE.
#
apiVersion: v2
version: 3.0.0
version: 3.1.0
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,7 @@
{{- range $name, $options:= .Values.deployments }}
{{- if and $options.autoscaleEnabled $options.autoscaleMin $options.autoscaleMax }}
---
{{- if and .Capabilities .Capabilities.KubeVersion (semverCompare ">=1.23-0" .Capabilities.KubeVersion.GitVersion) }}
apiVersion: autoscaling/v2
{{- else }}
apiVersion: autoscaling/v2beta2
{{- end }}
kind: HorizontalPodAutoscaler
metadata:
name: {{ $name }}
Expand Down
Loading