fix(ci): update FQDN for service name in initContainer (#625)

This commit is contained in:
warjiang
2025-08-07 11:12:25 +08:00
committed by GitHub
parent dd079b7ac7
commit 45e5b6ed26
2 changed files with 4 additions and 4 deletions

View File

@@ -23,7 +23,7 @@ spec:
initContainers:
- name: wait-for-namesrv
image: "{{ .Values.images.busybox }}"
command: ['sh', '-c', 'until nc -z {{ .Release.Name }}-rocketmq-namesrv 9876; do echo waiting for namesrv; sleep 2; done']
command: ['sh', '-c', 'until nc -z {{ include "opencoze.fullname" . }}-rocketmq-namesrv 9876; do echo waiting for namesrv; sleep 2; done']
volumes:
- name: broker-config
configMap: