Skip to content

Commit

Permalink
Merge pull request #37 from MediaMarktSaturn/fix/HPARef
Browse files Browse the repository at this point in the history
[Application] Fix HPA ref in canary
  • Loading branch information
heubeck authored Jul 12, 2023
2 parents 9d70e03 + bd48842 commit 759e88b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/application/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ maintainers:
- name: MediaMarktSaturn
url: https://github.com/MediaMarktSaturn
appVersion: 1.0.0
version: 1.2.0
version: 1.2.1
4 changes: 4 additions & 0 deletions charts/application/templates/flagger-canary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ spec:
name: {{ .Release.Name }}
progressDeadlineSeconds: {{ .Values.canary.progressDeadlineSeconds }}
autoscalerRef:
{{- if .Capabilities.APIVersions.Has "autoscaling/v2" }}
apiVersion: autoscaling/v2
{{- else }}
apiVersion: autoscaling/v2beta2
{{- end }}
kind: HorizontalPodAutoscaler
name: {{ .Release.Name }}
service:
Expand Down

0 comments on commit 759e88b

Please sign in to comment.