Skip to content
This repository was archived by the owner on Mar 17, 2020. It is now read-only.

Commit e65cb9d

Browse files
committed
fix(chart): Removed RabbitMq init container
1 parent f48858d commit e65cb9d

File tree

3 files changed

+0
-25
lines changed

3 files changed

+0
-25
lines changed

charts/activiti-cloud-notifications-graphql/templates/_helpers.tpl

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,3 @@ Create a default service name.
2828
{{- end -}}
2929

3030

31-
{{- define "notifications.rabbitmq-name" -}}
32-
{{- if .Values.global.rabbitmq.host.value }}
33-
{{ .Values.global.rabbitmq.host.value }}
34-
{{- else }}
35-
{{- printf "%s-%s" .Release.Name "rabbitmq" -}}
36-
{{- end }}
37-
{{- end -}}
38-

charts/activiti-cloud-notifications-graphql/templates/deployment.yaml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,6 @@ spec:
1717
done;
1818
echo 'PostgreSQL OK ✓'
1919
{{- end }}
20-
{{- if .Values.rabbitmq.enabled }}
21-
- name: wait-for-rabbitmq
22-
image: {{ .Values.init.container.image | quote }}
23-
imagePullPolicy: {{ .Values.init.container.imagePullPolicy }}
24-
command:
25-
- sh
26-
- -c
27-
- |
28-
until printf "." && nc -z -w 2 {{ include "notifications.rabbitmq-name" . }} 5672; do
29-
sleep 2;
30-
done;
31-
echo 'RabbitMq OK ✓'
32-
{{- end }}
3320
{{- if .Values.extraInitContainers }}
3421
{{ tpl .Values.extraInitContainers . | indent 8 }}
3522
{{- end }}

charts/activiti-cloud-notifications-graphql/values.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,6 @@ postgres:
4040
generateDdl: "false" # default to disable generating Ddl schema
4141
ddlAuto: "none" # default to disable ddl update
4242

43-
rabbitmq:
44-
enabled: true
45-
name: "rabbitmq"
46-
4743
javaOpts:
4844
xmx: 2048m
4945
xms: 512m

0 commit comments

Comments
 (0)