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 }}"