From 2f4e941c25486f8258e366ff56b9ebbc184ff67e Mon Sep 17 00:00:00 2001 From: Chrysostomos Nanakos Date: Mon, 6 Apr 2026 12:49:25 +0300 Subject: [PATCH] fix: set listen IP and port via shell expansion, remove dead STORAGE_LISTEN_ADDRS Signed-off-by: Chrysostomos Nanakos --- k8s/charts/codex/templates/codex-statefulset.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/k8s/charts/codex/templates/codex-statefulset.yaml b/k8s/charts/codex/templates/codex-statefulset.yaml index 48ab2ea..f8ddf7c 100644 --- a/k8s/charts/codex/templates/codex-statefulset.yaml +++ b/k8s/charts/codex/templates/codex-statefulset.yaml @@ -64,7 +64,7 @@ spec: fieldRef: fieldPath: metadata.name - name: STORAGE_NAT - value: "extip:$(POD_IP)" + value: "none" - name: STORAGE_BLOCK_TTL value: {{ .Values.experiment.blockTTL | quote }} - name: STORAGE_BLOCK_MI @@ -99,7 +99,9 @@ spec: echo "This is the boostrap node." fi - export STORAGE_LISTEN_ADDRS="/ip4/${POD_IP}/tcp/6892" + export STORAGE_LISTEN_IP="${POD_IP}" + export STORAGE_LISTEN_PORT="6892" + export STORAGE_NAT=none rm -rf ${STORAGE_DATA_DIR}/* echo " -- Starting Codex node -- "