Skip to content

Commit

Permalink
Added autoscaling values to values.yaml (#52)
Browse files Browse the repository at this point in the history
* Added autoscaling values to values.yaml
  • Loading branch information
Christopher Kolstad authored Sep 26, 2022
1 parent aaa86b7 commit 11be448
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/kubeval.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ set -o errexit
set -o pipefail

CHART_DIRS="$(git diff --find-renames --name-only "$(git rev-parse --abbrev-ref HEAD)" remotes/origin/main -- charts | grep '[cC]hart.yaml' | sed -e 's#/[Cc]hart.yaml##g')"
HELM_VERSION="v3.8.1"
KUBEVAL_VERSION="0.16.1"
HELM_VERSION="v3.10.0"
KUBEVAL_VERSION="v0.16.1"
SCHEMA_LOCATION="https://raw.githubusercontent.com/instrumenta/kubernetes-json-schema/master/"

# install helm
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ jobs:
strategy:
matrix:
k8s:
- v1.22.11
- v1.23.8
- v1.24.2
- v1.22.15
- v1.23.12
- v1.24.6
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions charts/unleash/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
appVersion: "4.12.6"
appVersion: "4.15.1"
dependencies:
- name: postgresql
repository: https://charts.bitnami.com/bitnami
Expand All @@ -16,4 +16,4 @@ sources:
- https://github.com/Unleash/unleash-docker
- https://github.com/Unleash/helm-charts
type: application
version: 2.7.0
version: 2.7.2
11 changes: 9 additions & 2 deletions charts/unleash/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ affinity: {}

# HorizontalPodAutoscaler
# https://kubernetes.io/de/docs/tasks/run-application/horizontal-pod-autoscale/
autoscaling:
enabled: false

# Unleash v4 comes with basic username/password and API tokens.
#
Expand Down Expand Up @@ -237,3 +235,12 @@ postgresql:
postgresqlPassword: unleash

securityContext: {}
# Autoscaling
# https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
# Allows Unleash to setup HPA
autoscaling:
enabled: false
minReplicas: 0
maxReplicas: 0
targetCPUUtilizationPercentage: 0
targetMemoryUtilizationPercentage: 0

0 comments on commit 11be448

Please sign in to comment.