Skip to content

Commit

Permalink
Merge pull request #72 from shoplineapp/fix/not-set-deployment-replic…
Browse files Browse the repository at this point in the history
…a-if-keda

fix(simple) prevent from setting replica if using KEDA
  • Loading branch information
Willis0826 authored Jan 28, 2022
2 parents 39de39b + cc0675b commit 64543d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion simple/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
description: Helm chart with simple deployment/service template
name: simple
version: 0.5.0
version: 0.5.1
appVersion: 0.0.1
tillerVersion: ">=2.14.3"
2 changes: 1 addition & 1 deletion simple/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
labels:
app: {{ .Values.name }}
spec:
{{- if not (or .Values.hpa .Values.hpav2) }}
{{- if not (or .Values.hpa .Values.hpav2 ((.Values.KEDA).ScaledObject)) }}
replicas: {{ .Values.replicaCount }}
{{- end}}
strategy:
Expand Down

0 comments on commit 64543d0

Please sign in to comment.