mirror of
				https://github.com/Telecominfraproject/wlan-cloud-ucentralgw.git
				synced 2025-10-30 02:12:29 +00:00 
			
		
		
		
	[WIFI-6393] Add: initContainer to wait for Kafka to be ready
Signed-off-by: Dmitry Dunaev <dmitry@opsfleet.com>
This commit is contained in:
		| @@ -39,6 +39,16 @@ spec: | |||||||
|         {{- end }} |         {{- end }} | ||||||
|     spec: |     spec: | ||||||
|  |  | ||||||
|  |       initContainers: | ||||||
|  |         - name: wait-kafka | ||||||
|  |           image: "{{ .Values.images.dockerize.repository }}:{{ .Values.images.dockerize.tag }}" | ||||||
|  |           imagePullPolicy: {{ .Values.images.dockerize.pullPolicy }} | ||||||
|  |           args: | ||||||
|  |             - -wait | ||||||
|  |             - tcp://{{ index .Values.configProperties "openwifi.kafka.brokerlist" }} | ||||||
|  |             - -timeout | ||||||
|  |             - 600s | ||||||
|  |  | ||||||
|       containers: |       containers: | ||||||
|  |  | ||||||
|         - name: owgw |         - name: owgw | ||||||
|   | |||||||
| @@ -15,6 +15,10 @@ images: | |||||||
| #      registry: tip-tip-wlan-cloud-ucentral.jfrog.io | #      registry: tip-tip-wlan-cloud-ucentral.jfrog.io | ||||||
| #      username: username | #      username: username | ||||||
| #      password: password | #      password: password | ||||||
|  |   dockerize: | ||||||
|  |     repository: tip-tip-wlan-cloud-ucentral.jfrog.io/dockerize | ||||||
|  |     tag: 0.16.0 | ||||||
|  |     pullPolicy: IfNotPresent | ||||||
|  |  | ||||||
| services: | services: | ||||||
|   owgw: |   owgw: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Dmitry Dunaev
					Dmitry Dunaev