Skip to content

Commit

Permalink
fix hpa
Browse files Browse the repository at this point in the history
  • Loading branch information
juri committed Nov 27, 2024
1 parent ab27678 commit 42850a0
Show file tree
Hide file tree
Showing 13 changed files with 15 additions and 13 deletions.
2 changes: 1 addition & 1 deletion charts/app/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: app
description: A Helm chart for Kubernetes Deployment
type: application

version: 0.15.0
version: 0.15.2

keywords:
- deployment
Expand Down
2 changes: 1 addition & 1 deletion charts/app/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ prometheusScrapePath: /actuator/prometheus
## enable HorizontalPodAutoscalers
autoscaling:
enabled: false
scaleTargetRef: {}
minReplicas: 2
maxReplicas: 10
# pubsub_subscription:
Expand Down Expand Up @@ -198,7 +199,6 @@ autoscaling:
# behavior:
# scaleDown:
# stabilizationWindowSeconds: 300
scaleTargetRef: {}

## https://keda.sh/docs/latest/reference/scaledobject-spec/
keda:
Expand Down
2 changes: 1 addition & 1 deletion charts/argo-applications/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: argo-applications
description: A Helm chart for Kubernetes argo applications
type: application

version: 0.15.0
version: 0.15.2

keywords:
- argocd
Expand Down
2 changes: 1 addition & 1 deletion charts/argo-workflows/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: argo-workflows
description: A Helm chart for Kubernetes argocd workflows
type: application

version: 0.15.0
version: 0.15.2

keywords:
- argocd
Expand Down
2 changes: 1 addition & 1 deletion charts/base/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: base
description: A Helm chart for Kubernetes with helm named templates
type: library

version: 0.15.0
version: 0.15.2

keywords:
- deployment
Expand Down
4 changes: 3 additions & 1 deletion charts/base/templates/_keda.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ spec:
{{- end }}
pollingInterval: {{ .Values.keda.pollingInterval | default 30 }}
cooldownPeriod: {{ .Values.keda.cooldownPeriod | default 300 }}
idleReplicaCount: {{ .Values.keda.idleReplicaCount | default 0 }}
{{- if .Values.keda.idleReplicaCount }}
idleReplicaCount: {{ .Values.keda.idleReplicaCount }}
{{- end }}
minReplicaCount: {{ .Values.keda.minReplicaCount | default 0 }}
maxReplicaCount: {{ .Values.keda.maxReplicaCount | default 100 }}
{{- with .Values.keda.fallback }}
Expand Down
2 changes: 1 addition & 1 deletion charts/cronjob/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: cronjob
description: A Helm chart for Kubernetes cronjob
type: application

version: 0.15.0
version: 0.15.2

keywords:
- cronjob
Expand Down
2 changes: 1 addition & 1 deletion charts/default-base/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: default-base
description: A Helm chart for Kubernetes - default-base for namespaces

version: 0.15.0
version: 0.15.2

keywords:
- BackendConfig
Expand Down
2 changes: 1 addition & 1 deletion charts/ingress/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: ingress
description: A Helm chart for Kubernetes ingress
type: application

version: 0.15.0
version: 0.15.2

keywords:
- ingress
Expand Down
2 changes: 1 addition & 1 deletion charts/job/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: job
description: A Helm chart for Kubernetes job
type: application

version: 0.15.0
version: 0.15.2

keywords:
- job
Expand Down
2 changes: 1 addition & 1 deletion charts/prometheus-rules/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: prometheus-rules
description: A Helm chart for Prometheus Rules
type: application

version: 0.15.0
version: 0.15.2

keywords:
- job
Expand Down
2 changes: 1 addition & 1 deletion charts/rbac/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: rbac
description: A Helm chart for Kubernetes rbac
type: application

version: 0.15.0
version: 0.15.2

keywords:
- rbac
Expand Down
2 changes: 1 addition & 1 deletion charts/service/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: service
description: A Helm chart for Kubernetes service
type: application

version: 0.15.0
version: 0.15.2

keywords:
- service
Expand Down

0 comments on commit 42850a0

Please sign in to comment.