From 7ffd3cc158759b4776742278a7ea0e37ce8e92ef Mon Sep 17 00:00:00 2001 From: Tancho Mihov <tancho.mihov@cleverpine.com> Date: Tue, 14 Jun 2022 13:18:14 +0300 Subject: [PATCH] Init --- Chart.yaml | 4 ++-- templates/deployment.yaml | 2 +- templates/service.yaml | 5 ++--- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/Chart.yaml b/Chart.yaml index fcf15f2..2518d95 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 -appVersion: 0.0.1 +appVersion: 0.0.2 description: cache deployment name: cache -version: 0.0.1 +version: 0.0.2 icon: "https://www.vereign.com/wp-content/themes/vereign2020/images/vereign-logo.svg" diff --git a/templates/deployment.yaml b/templates/deployment.yaml index 504124c..ead891f 100644 --- a/templates/deployment.yaml +++ b/templates/deployment.yaml @@ -72,7 +72,7 @@ spec: containerPort: {{ .Values.cache.http.port }} readinessProbe: httpGet: - path: /v1/health + path: /readiness port: {{ .Values.cache.http.port }} initialDelaySeconds: 5 periodSeconds: 5 diff --git a/templates/service.yaml b/templates/service.yaml index 150056a..92420d9 100644 --- a/templates/service.yaml +++ b/templates/service.yaml @@ -9,8 +9,7 @@ spec: clusterIP: None ports: - name: http - port: {{ .Values.service.port }} - targetPort: {{ .Values.cache.http.port }} + targetPort: {{ .Values.service.port }} + port: {{ .Values.cache.http.port }} selector: {{- include "app.selectorLabels" . | nindent 4 }} - -- GitLab