Skip to content

Commit 148cc82

Browse files
authored
Merge pull request #1453 from porter-dev/main
Move keda autoscaling changes to prod
2 parents 1d1a1d4 + f88f924 commit 148cc82

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

applications/web/templates/hpa-blue-green.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ apiVersion: autoscaling/v2beta2
99
kind: HorizontalPodAutoscaler
1010
metadata:
1111
name: {{ include "docker-template.fullname" $ }}-{{ $tag }}
12+
annotations:
13+
validations.keda.sh/hpa-ownership: "false"
1214
spec:
1315
scaleTargetRef:
1416
apiVersion: apps/v1

applications/web/templates/hpa.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ apiVersion: autoscaling/v2beta2
88
kind: HorizontalPodAutoscaler
99
metadata:
1010
name: {{ include "docker-template.fullname" . }}
11+
annotations:
12+
validations.keda.sh/hpa-ownership: "false"
1113
spec:
1214
{{- if .Values.autoscaling.behavior.enabled }}
1315
behavior:

applications/web/templates/scaled-object.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
apiVersion: keda.sh/v1alpha1
44
kind: ScaledObject
55
metadata:
6-
name: {{ $fullName }}
6+
name: {{ $fullName }}
77
spec:
88
scaleTargetRef:
99
apiVersion: apps/v1

applications/worker/templates/hpa.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ apiVersion: autoscaling/v2beta2
77
kind: HorizontalPodAutoscaler
88
metadata:
99
name: {{ include "docker-template.fullname" . }}
10+
annotations:
11+
validations.keda.sh/hpa-ownership: "false"
1012
spec:
1113
{{- if .Values.autoscaling.behavior.enabled }}
1214
behavior:

0 commit comments

Comments
 (0)