diff --git a/applications/web/templates/hpa-blue-green.yaml b/applications/web/templates/hpa-blue-green.yaml index ff4eac65..60780be5 100644 --- a/applications/web/templates/hpa-blue-green.yaml +++ b/applications/web/templates/hpa-blue-green.yaml @@ -9,6 +9,8 @@ apiVersion: autoscaling/v2beta2 kind: HorizontalPodAutoscaler metadata: name: {{ include "docker-template.fullname" $ }}-{{ $tag }} + annotations: + validations.keda.sh/hpa-ownership: "false" spec: scaleTargetRef: apiVersion: apps/v1 diff --git a/applications/web/templates/hpa.yaml b/applications/web/templates/hpa.yaml index d851b57d..aa531143 100644 --- a/applications/web/templates/hpa.yaml +++ b/applications/web/templates/hpa.yaml @@ -8,6 +8,8 @@ apiVersion: autoscaling/v2beta2 kind: HorizontalPodAutoscaler metadata: name: {{ include "docker-template.fullname" . }} + annotations: + validations.keda.sh/hpa-ownership: "false" spec: {{- if .Values.autoscaling.behavior.enabled }} behavior: diff --git a/applications/web/templates/scaled-object.yaml b/applications/web/templates/scaled-object.yaml index 19f27041..2bab8597 100644 --- a/applications/web/templates/scaled-object.yaml +++ b/applications/web/templates/scaled-object.yaml @@ -3,7 +3,7 @@ apiVersion: keda.sh/v1alpha1 kind: ScaledObject metadata: - name: {{ $fullName }} + name: {{ $fullName }} spec: scaleTargetRef: apiVersion: apps/v1 diff --git a/applications/worker/templates/hpa.yaml b/applications/worker/templates/hpa.yaml index e7976c87..b8e812a7 100644 --- a/applications/worker/templates/hpa.yaml +++ b/applications/worker/templates/hpa.yaml @@ -7,6 +7,8 @@ apiVersion: autoscaling/v2beta2 kind: HorizontalPodAutoscaler metadata: name: {{ include "docker-template.fullname" . }} + annotations: + validations.keda.sh/hpa-ownership: "false" spec: {{- if .Values.autoscaling.behavior.enabled }} behavior: