From 72057e11f07f4707761aa0c5efd22b62c91ef895 Mon Sep 17 00:00:00 2001 From: hanayo04 Date: Thu, 13 Jun 2024 14:51:36 +0900 Subject: [PATCH] revert #300 --- akka/templates/autoscaling.yaml | 4 ++-- akka/templates/rollout.yaml | 2 +- akka/values.yaml | 3 --- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/akka/templates/autoscaling.yaml b/akka/templates/autoscaling.yaml index ae2aadf9..d347b554 100644 --- a/akka/templates/autoscaling.yaml +++ b/akka/templates/autoscaling.yaml @@ -25,7 +25,7 @@ spec: {{- toYaml .Values.autoscaling.metrics | nindent 4 }} minReplicas: {{ .Values.autoscaling.minReplicas }} scaleTargetRef: - kind: {{ .Values.autoscaling.scaleTargetRef.kind }} - apiVersion: {{ .Values.autoscaling.scaleTargetRef.apiVersion }} + kind: Deployment + apiVersion: apps/v1 name: "{{ template "akka.fullname" . }}" {{- end }} diff --git a/akka/templates/rollout.yaml b/akka/templates/rollout.yaml index 42e2be64..ab858ac1 100644 --- a/akka/templates/rollout.yaml +++ b/akka/templates/rollout.yaml @@ -21,6 +21,6 @@ spec: {{- end }} replicas: {{ .Values.rollout.replicaCount }} revisionHistoryLimit: {{ .Values.rollout.revisionHistoryLimit }} - strategy: + strategy: {{- toYaml .Values.rollout.strategy | nindent 4 }} {{- end }} \ No newline at end of file diff --git a/akka/values.yaml b/akka/values.yaml index 409fa79c..ce27100d 100644 --- a/akka/values.yaml +++ b/akka/values.yaml @@ -290,9 +290,6 @@ autoscaling: metrics: [] # This feature is available since 1.18 behavior: {} - scaleTargetRef: - kind: Deployment - apiVersion: apps/v1 # Metrics Configuration. metrics: