diff --git a/charts/wiremock/Chart.yaml b/charts/wiremock/Chart.yaml index ce61fa3..b960a11 100644 --- a/charts/wiremock/Chart.yaml +++ b/charts/wiremock/Chart.yaml @@ -15,13 +15,13 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.3.0 +version: 1.4.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "3.8.0" +appVersion: "3.10.0" maintainers: - name: "gitkent" diff --git a/charts/wiremock/templates/hpa.yaml b/charts/wiremock/templates/hpa.yaml index 48ebec6..b90548f 100644 --- a/charts/wiremock/templates/hpa.yaml +++ b/charts/wiremock/templates/hpa.yaml @@ -1,5 +1,5 @@ {{- if .Values.autoscaling.enabled }} -apiVersion: autoscaling/v2beta1 +apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: {{ include "wiremock.fullname" . }} @@ -17,12 +17,16 @@ spec: - type: Resource resource: name: cpu - targetAverageUtilization: {{ .Values.autoscaling.targetCPUUtilizationPercentage }} + target: + type: Utilization + averageUtilization: {{ .Values.autoscaling.targetCPUUtilizationPercentage }} {{- end }} {{- if .Values.autoscaling.targetMemoryUtilizationPercentage }} - type: Resource resource: name: memory - targetAverageUtilization: {{ .Values.autoscaling.targetMemoryUtilizationPercentage }} + target: + type: Utilization + averageUtilization: {{ .Values.autoscaling.targetMemoryUtilizationPercentage }} {{- end }} {{- end }} diff --git a/charts/wiremock/values.yaml b/charts/wiremock/values.yaml index fedd2f2..1a2b42b 100644 --- a/charts/wiremock/values.yaml +++ b/charts/wiremock/values.yaml @@ -29,7 +29,7 @@ replicaCount: 1 image: repository: wiremock/wiremock # Overrides the image tag whose default is the chart appVersion. - tag: 3.8.0 + tag: 3.10.0 pullPolicy: IfNotPresent initContainer: