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

Commit f48858d

Browse files
committed
fix(chart): Corrected RabbitMq init container
1 parent b9d7de6 commit f48858d

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Create a default service name.
3232
{{- if .Values.global.rabbitmq.host.value }}
3333
{{ .Values.global.rabbitmq.host.value }}
3434
{{- else }}
35-
{{- printf "%s-%s" .Release.Name (.Values.rabbitmq.name | default "rabbitmq") -}}
35+
{{- printf "%s-%s" .Release.Name "rabbitmq" -}}
3636
{{- end }}
3737
{{- end -}}
3838

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ spec:
2525
- sh
2626
- -c
2727
- |
28-
until printf "." && nc -z -w 2 {{ include "notifications.rabbitmq-name" . }} {{ .Values.rabbitmq.port | default 5672 }}; do
28+
until printf "." && nc -z -w 2 {{ include "notifications.rabbitmq-name" . }} 5672; do
2929
sleep 2;
3030
done;
3131
echo 'RabbitMq OK ✓'

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ postgres:
4343
rabbitmq:
4444
enabled: true
4545
name: "rabbitmq"
46-
port: 5672
4746

4847
javaOpts:
4948
xmx: 2048m

0 commit comments

Comments
 (0)