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

9356 update autoscaling version (#1) #9357

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
8 changes: 4 additions & 4 deletions .github/workflows/build-and-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
ASYNC_TEST_TIMEOUT: 120
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10.5
- name: Set up Python 3.10.10
uses: actions/setup-python@v1
with:
python-version: 3.10.5
python-version: 3.10.10
- name: Install Terraform
uses: hashicorp/setup-terraform@v1
- name: Install dependencies
Expand Down Expand Up @@ -62,10 +62,10 @@ jobs:
# master builds don't have tags, which breaks setupmeta versioning. This retrieves the tags.
- run: git fetch --prune --unshallow --tags
if: github.ref == 'refs/heads/master'
- name: Set up Python 3.10.5
- name: Set up Python 3.10.10
uses: actions/setup-python@v1
with:
python-version: 3.10.5
python-version: 3.10.10
- name: Build UI assets
run: |
curl -sL https://deb.nodesource.com/setup_14.x | sudo bash
Expand Down
4 changes: 4 additions & 0 deletions helm/consoleme/templates/hpa.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{{- if .Values.autoscaling.enabled }}
{{- if semverCompare ">=1.23-0" .Capabilities.KubeVersion.Version }}
apiVersion: autoscaling/v2
{{- else }}
apiVersion: autoscaling/v2beta1
{{- end }}
kind: HorizontalPodAutoscaler
metadata:
name: {{ include "consoleme.fullname" . }}
Expand Down