Skip to content

Commit

Permalink
Merge pull request #150 from shoplineapp/feature/keda-scaled-object-a…
Browse files Browse the repository at this point in the history
…nnotations

feat(keda): add annotations field
  • Loading branch information
neal-sl authored May 28, 2024
2 parents 2ab782d + 65b61d3 commit a8805a2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
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.18.1
version: 0.19.0
appVersion: 0.0.1
tillerVersion: ">=2.14.3"
4 changes: 4 additions & 0 deletions simple/templates/scale_object.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ kind: ScaledObject
metadata:
name: {{ .Values.name }}
namespace: {{ .Release.Namespace }}
{{- if hasKey .Values.KEDA.ScaledObject "annotations" }}
annotations:
{{- toYaml .Values.KEDA.ScaledObject.annotations | nindent 4 }}
{{- end}}
spec: {{ toYaml .Values.KEDA.ScaledObject.spec | nindent 2 }}
scaleTargetRef:
{{- if .Values.rollout }}
Expand Down

0 comments on commit a8805a2

Please sign in to comment.