Skip to content

Commit

Permalink
Outputing sa username
Browse files Browse the repository at this point in the history
  • Loading branch information
Hentouane committed Oct 24, 2024
1 parent 4159ff5 commit 294d594
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/provisioners/default/zz-default.provisioners.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 294d594

Please sign in to comment.