From d4a1484cfeb35e9e36ea40c5bda2cedf91107b22 Mon Sep 17 00:00:00 2001 From: devOpsHelm <54980549+devOpsHelm@users.noreply.github.com> Date: Tue, 5 Nov 2019 21:08:38 +0300 Subject: [PATCH] [stable/hazelcast] corrected healthcheck port (#76) (#18548) * corrected healthcheck port (#76) Signed-off-by: devOpsHelm * added apiVersion into stable/hazelcast chart Signed-off-by: hasancelik --- stable/hazelcast/Chart.yaml | 5 +++-- stable/hazelcast/templates/mancenter-statefulset.yaml | 6 +++--- stable/hazelcast/values.yaml | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/stable/hazelcast/Chart.yaml b/stable/hazelcast/Chart.yaml index 612c673a6f..9b42f7fc59 100644 --- a/stable/hazelcast/Chart.yaml +++ b/stable/hazelcast/Chart.yaml @@ -1,6 +1,7 @@ +apiVersion: v1 name: hazelcast -version: 2.7.0 -appVersion: "3.12.3" +version: 2.8.0 +appVersion: "3.12.4" tillerVersion: ">=2.7.2" kubeVersion: ">=1.9.0-0" description: Hazelcast IMDG is the most widely used in-memory data grid with hundreds of thousands of installed clusters around the world. It offers caching solutions ensuring that data is in the right place when it’s needed for optimal performance. diff --git a/stable/hazelcast/templates/mancenter-statefulset.yaml b/stable/hazelcast/templates/mancenter-statefulset.yaml index 701d6d0f8d..75064de62f 100644 --- a/stable/hazelcast/templates/mancenter-statefulset.yaml +++ b/stable/hazelcast/templates/mancenter-statefulset.yaml @@ -63,7 +63,7 @@ spec: livenessProbe: httpGet: path: /hazelcast-mancenter/health - port: 8080 + port: 8081 initialDelaySeconds: {{ .Values.mancenter.livenessProbe.initialDelaySeconds }} periodSeconds: {{ .Values.mancenter.livenessProbe.periodSeconds }} timeoutSeconds: {{ .Values.mancenter.livenessProbe.timeoutSeconds }} @@ -74,7 +74,7 @@ spec: readinessProbe: httpGet: path: /hazelcast-mancenter/health - port: 8080 + port: 8081 initialDelaySeconds: {{ .Values.mancenter.readinessProbe.initialDelaySeconds }} periodSeconds: {{ .Values.mancenter.readinessProbe.periodSeconds }} timeoutSeconds: {{ .Values.mancenter.readinessProbe.timeoutSeconds }} @@ -95,7 +95,7 @@ spec: value: {{ .Values.mancenter.licenseKey }} {{- end }} - name: JAVA_OPTS - value: "{{ if or .Values.mancenter.licenseKey .Values.mancenter.licenseKeySecretName }}-Dhazelcast.mc.license=$(MC_LICENSE_KEY){{ end }} {{ .Values.mancenter.javaOpts }}" + value: "{{ if or .Values.mancenter.licenseKey .Values.mancenter.licenseKeySecretName }}-Dhazelcast.mc.license=$(MC_LICENSE_KEY){{ end }} {{ if or .Values.mancenter.readinessProbe.enabled .Values.mancenter.livenessProbe.enabled }}-Dhazelcast.mc.healthCheck.enable=true{{ end }} {{ .Values.mancenter.javaOpts }}" serviceAccountName: {{ template "hazelcast.serviceAccountName" . }} {{- if .Values.securityContext.enabled }} securityContext: diff --git a/stable/hazelcast/values.yaml b/stable/hazelcast/values.yaml index f619b70483..43824e33f5 100644 --- a/stable/hazelcast/values.yaml +++ b/stable/hazelcast/values.yaml @@ -5,7 +5,7 @@ image: # repository is the Hazelcast image name repository: "hazelcast/hazelcast" # tag is the Hazelcast image tag - tag: "3.12.3" + tag: "3.12.4" # pullPolicy is the Docker image pull policy # It's recommended to change this to 'Always' if the image tag is 'latest' # ref: http://kubernetes.io/docs/user-guide/images/#updating-images