From 7aa730360e1fc8ba00eac33847f02c9efa1c3175 Mon Sep 17 00:00:00 2001 From: Heiru Wu Date: Wed, 10 Apr 2024 02:32:42 +0800 Subject: [PATCH] chore: remove port for redis check --- charts/core/templates/registry/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/core/templates/registry/deployment.yaml b/charts/core/templates/registry/deployment.yaml index 1dd5ad9c..63f1e625 100644 --- a/charts/core/templates/registry/deployment.yaml +++ b/charts/core/templates/registry/deployment.yaml @@ -59,7 +59,7 @@ spec: - 'ping' env: - name: REDIS_HOST - value: "{{ .Values.registry.config.redis.addr }}" + value: "{{ (split ":" .Values.registry.config.redis.addr)._0 }}" containers: - name: registry image: {{ .Values.registry.image.repository }}:{{ .Values.registry.image.tag }}