From 83bb896d2702fa302b5a9321ed7bbe4b8f1a1240 Mon Sep 17 00:00:00 2001 From: Ben Meier Date: Tue, 7 May 2024 13:51:17 +0100 Subject: [PATCH] fix(provisioner): typo in rabbit provisioner causing bugs when generating multiple times Signed-off-by: Ben Meier --- internal/command/default.provisioners.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/command/default.provisioners.yaml b/internal/command/default.provisioners.yaml index d0b4daa..cec287f 100644 --- a/internal/command/default.provisioners.yaml +++ b/internal/command/default.provisioners.yaml @@ -307,7 +307,7 @@ publishPort: {{ dig "annotations" "compose.score.dev/publish-port" "0" .Metadata | atoi }} publishManagementPort: {{ dig "annotations" "compose.score.dev/publish-management-port" "0" .Metadata | atoi }} state: | - vhost: {{ dig "database" .Init.randomVHost .State | quote }} + vhost: {{ dig "vhost" .Init.randomVHost .State | quote }} username: {{ dig "username" .Init.randomUsername .State | quote }} password: {{ dig "password" .Init.randomPassword .State | quote }} outputs: | @@ -378,6 +378,7 @@ {{ if ne .Init.publishManagementPort 0 }} - "{{.Uid}}: Browse the rabbitmq UI at \"http://localhost:{{ .Init.publishManagementPort }}\"" {{ end }} + # The default dns provisioner just outputs localhost as the hostname every time. # This is because without actual control of a dns resolver we can't do any accurate routing on any other name. This # can be replaced by a new provisioner in the future.