From ab2484474efb97f514e4c3fcaab3d57187b93c78 Mon Sep 17 00:00:00 2001 From: vikingowl Date: Tue, 31 Mar 2026 23:02:26 +0200 Subject: [PATCH] fix(helm): remove busybox init container blocking backend startup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit BusyBox 1.37 nc -z is broken (outputs "punt!" and never exits), causing the wait-for-cache init container to loop indefinitely. The cache is healthy — the backend should handle reconnects itself. --- backend/deploy/helm/templates/deployment.yaml | 23 ------------------- 1 file changed, 23 deletions(-) diff --git a/backend/deploy/helm/templates/deployment.yaml b/backend/deploy/helm/templates/deployment.yaml index f3b58a0..d3f9637 100644 --- a/backend/deploy/helm/templates/deployment.yaml +++ b/backend/deploy/helm/templates/deployment.yaml @@ -29,29 +29,6 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} - {{- if .Values.dragonfly.enabled }} - initContainers: - - name: wait-for-cache - image: busybox:1.37 - resources: - requests: - cpu: 10m - memory: 16Mi - limits: - cpu: 50m - memory: 32Mi - securityContext: - {{- toYaml .Values.securityContext | nindent 12 }} - command: - - sh - - -c - - | - echo "Waiting for cache..." - until nc -z {{ .Values.dragonfly.name }} 6379; do - sleep 3 - done - echo "Cache is reachable" - {{- end }} containers: - name: backend image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"