From 294d5940c60b615b4b2ac8c29be11eca8eecad4d Mon Sep 17 00:00:00 2001 From: Hentouane Date: Wed, 23 Oct 2024 23:59:39 -0400 Subject: [PATCH] Outputing sa username --- internal/provisioners/default/zz-default.provisioners.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/provisioners/default/zz-default.provisioners.yaml b/internal/provisioners/default/zz-default.provisioners.yaml index b9cd456..e440c94 100644 --- a/internal/provisioners/default/zz-default.provisioners.yaml +++ b/internal/provisioners/default/zz-default.provisioners.yaml @@ -807,11 +807,13 @@ state: | service: mssql-{{ .SourceWorkload }}-{{ substr 0 8 .Guid | lower }} database: {{ dig "database" .Init.randomDatabase .State | quote }} + username: sa password: {{ dig "password" .Init.randomPassword .State | quote }} outputs: | host: {{ .State.service }} port: 1433 name: {{ .State.database }} + username: {{ .State.username }} password: {{ encodeSecretRef .State.service "MSSQL_SA_PASSWORD" }} manifests: | - apiVersion: v1