Skip to content

Commit b97ed3b

Browse files
committed
fix envs
1 parent ce3d2c8 commit b97ed3b

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

linux/sample-helm-chart-statefulset-deployment/questions.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ questions:
33
label: ACCEPT_EULA
44
description: Accepts the SQL Server EULA (any value confirms acceptance)
55
default: "Yes"
6-
group: SQL Server Options
6+
group: SQL Server options
77

88
- variable: SQL Server Edition aka. MSSQL_PID
99
description: |
@@ -15,7 +15,7 @@ questions:
1515
Enterprise |
1616
Product Key of the format "#####-#####-#####-#####-#####"
1717
default: Developer
18-
group: SQL Server Options
18+
group: SQL Server options
1919

2020
- variable: MSSQL_SA_PASSWORD
2121
label: MSSQL SA user password
@@ -25,14 +25,14 @@ questions:
2525
max: 128
2626
default: ""
2727
valid_chars: a-zA-Z0-9(`~!@#$%^&*_-+=|\\{}[]:;\"'<>,.?)/
28-
group: SQL Server Options
28+
group: SQL Server options
2929

3030
- variable: MSSQL_AGENT_ENABLED
3131
label: Enable SQL Server Agent
3232
description: Enables the SQL Server Agent
3333
type: boolean
3434
default: false
35-
group: SQL Server Options
35+
group: SQL Server options
3636

3737
- variable: defaultContainerImage
3838
label: Use default SQL Server container image

linux/sample-helm-chart-statefulset-deployment/templates/deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ spec:
3838
value: "{{ .Values.ACCEPT_EULA | upper}}"
3939
- name: MSSQL_AGENT_ENABLED
4040
value: "{{ .Values.MSSQL_AGENT_ENABLED}}"
41-
- name: SA_PASSWORD
41+
- name: MSSQL_SA_PASSWORD
4242
valueFrom:
4343
secretKeyRef:
4444
name: mssql-secret
45-
key: SA_PASSWORD
45+
key: mssql_sa_password
4646
volumeMounts:
4747
- name: mssql
4848
mountPath: "/var/opt/mssql"

linux/sample-helm-chart-statefulset-deployment/templates/secret.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ metadata:
66
{{- include "sql-statefull-deploy.labels" . | nindent 4 }}
77
type: Opaque
88
data:
9-
sa_password : {{ .Values.MSSQL_SA_PASSWORD | b64enc | quote}}
9+
mssql_sa_password : {{ .Values.MSSQL_SA_PASSWORD | b64enc | quote}}

0 commit comments

Comments
 (0)