From 3c1fc03ea9a6ba7ddb78c16fadfb9d2805f41350 Mon Sep 17 00:00:00 2001 From: dahoud <41957584+DahoudG@users.noreply.github.com> Date: Wed, 22 Apr 2026 15:32:29 +0000 Subject: [PATCH] =?UTF-8?q?fix(v1.0.2):=20NOTES.txt=20g=C3=A8re=20tcpSocke?= =?UTF-8?q?t=20probe=20(pas=20que=20httpGet)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Chart.yaml | 4 ++-- templates/NOTES.txt | 9 +++++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/Chart.yaml b/Chart.yaml index 7781572..3821903 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -5,8 +5,8 @@ description: | Fournit : Deployment hardened, Service, Ingress avec cert-manager + rate-limit, ConfigMap, ExternalSecret (Vault → K8s), NetworkPolicy, PDB, ServiceMonitor, HPA. type: application -version: 1.0.1 -appVersion: "1.0.1" +version: 1.0.2 +appVersion: "1.0.2" kubeVersion: ">=1.28.0-0" maintainers: - name: Lions Infrastructure Team diff --git a/templates/NOTES.txt b/templates/NOTES.txt index 0e0de39..06d8ffb 100644 --- a/templates/NOTES.txt +++ b/templates/NOTES.txt @@ -7,11 +7,16 @@ Application {{ include "lions-app.name" . }} déployée sur Lions ({{ .Release.N kubectl get pods -n {{ .Release.Namespace }} -l app={{ include "lions-app.name" . }} 3. Health check : +{{- if .Values.probes.readiness.httpGet }} {{- if .Values.ingress.enabled }} - curl -sk https://{{ .Values.ingress.host }}{{ .Values.probes.readiness.httpGet.path | default "/q/health/ready" }} + curl -sk https://{{ .Values.ingress.host }}{{ .Values.probes.readiness.httpGet.path }} {{- else }} kubectl port-forward -n {{ .Release.Namespace }} svc/{{ include "lions-app.name" . }} 8080:{{ .Values.service.port }} - curl -s http://localhost:8080{{ .Values.probes.readiness.httpGet.path | default "/q/health/ready" }} + curl -s http://localhost:8080{{ .Values.probes.readiness.httpGet.path }} +{{- end }} +{{- else }} + (tcpSocket probe — pas de path HTTP de test direct) + kubectl get pods -n {{ .Release.Namespace }} -l app={{ include "lions-app.name" . }} {{- end }} 4. Logs :