diff --git a/bitnami/wavefront-hpa-adapter/Chart.yaml b/bitnami/wavefront-hpa-adapter/Chart.yaml index 7b2f05427..52bb2d976 100644 --- a/bitnami/wavefront-hpa-adapter/Chart.yaml +++ b/bitnami/wavefront-hpa-adapter/Chart.yaml @@ -25,4 +25,4 @@ maintainers: name: wavefront-hpa-adapter sources: - https://github.com/bitnami/containers/tree/main/bitnami/wavefront-hpa-adapter -version: 1.3.2 +version: 1.3.3 diff --git a/bitnami/wavefront-hpa-adapter/templates/custom-metrics-apiserver-deployment.yaml b/bitnami/wavefront-hpa-adapter/templates/custom-metrics-apiserver-deployment.yaml index 83944513b..5e803c155 100644 --- a/bitnami/wavefront-hpa-adapter/templates/custom-metrics-apiserver-deployment.yaml +++ b/bitnami/wavefront-hpa-adapter/templates/custom-metrics-apiserver-deployment.yaml @@ -116,7 +116,9 @@ spec: ports: - containerPort: {{ .Values.containerPorts.https }} name: https - {{- if .Values.livenessProbe.enabled }} + {{- if .Values.customLivenessProbe }} + livenessProbe: {{- include "common.tplvalues.render" (dict "value" .Values.customLivenessProbe "context" $) | nindent 12 }} + {{- else if .Values.livenessProbe.enabled }} livenessProbe: tcpSocket: port: https @@ -125,10 +127,10 @@ spec: timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }} successThreshold: {{ .Values.livenessProbe.successThreshold }} failureThreshold: {{ .Values.livenessProbe.failureThreshold }} - {{- else if .Values.customLivenessProbe }} - livenessProbe: {{- include "common.tplvalues.render" (dict "value" .Values.customLivenessProbe "context" $) | nindent 12 }} {{- end }} - {{- if .Values.readinessProbe.enabled }} + {{- if .Values.customReadinessProbe }} + readinessProbe: {{- include "common.tplvalues.render" (dict "value" .Values.customReadinessProbe "context" $) | nindent 12 }} + {{- else if .Values.readinessProbe.enabled }} readinessProbe: tcpSocket: port: https @@ -137,10 +139,10 @@ spec: timeoutSeconds: {{ .Values.readinessProbe.timeoutSeconds }} successThreshold: {{ .Values.readinessProbe.successThreshold }} failureThreshold: {{ .Values.readinessProbe.failureThreshold }} - {{- else if .Values.customReadinessProbe }} - readinessProbe: {{- include "common.tplvalues.render" (dict "value" .Values.customReadinessProbe "context" $) | nindent 12 }} {{- end }} - {{- if .Values.startupProbe.enabled }} + {{- if .Values.customStartupProbe }} + startupProbe: {{- include "common.tplvalues.render" (dict "value" .Values.customStartupProbe "context" $) | nindent 12 }} + {{- else if .Values.startupProbe.enabled }} startupProbe: tcpSocket: port: https @@ -149,8 +151,6 @@ spec: timeoutSeconds: {{ .Values.startupProbe.timeoutSeconds }} successThreshold: {{ .Values.startupProbe.successThreshold }} failureThreshold: {{ .Values.startupProbe.failureThreshold }} - {{- else if .Values.customStartupProbe }} - startupProbe: {{- include "common.tplvalues.render" (dict "value" .Values.customStartupProbe "context" $) | nindent 12 }} {{- end }} volumeMounts: - mountPath: /tmp