Skip to content

Commit 4d933e2

Browse files
authored
updating env var from SA_PASSWORD to MSSQ_SA_PASSWORD
1 parent 5143cff commit 4d933e2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/azure-sql-edge/deploy-kubernetes.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Create an SA password in the Kubernetes cluster. Kubernetes can manage sensitive
6969
The following command creates a password for the SA account:
7070

7171
```azurecli
72-
kubectl create secret generic mssql --from-literal=SA_PASSWORD="MyC0m9l&xP@ssw0rd" -n <namespace name>
72+
kubectl create secret generic mssql --from-literal=MSQL_SA_PASSWORD="MyC0m9l&xP@ssw0rd" -n <namespace name>
7373
```
7474

7575
Replace `MyC0m9l&xP@ssw0rd` with a complex password.
@@ -186,11 +186,11 @@ In this step, create a manifest to describe the container based on the Azure SQL
186186
value: "Developer"
187187
- name: ACCEPT_EULA
188188
value: "Y"
189-
- name: SA_PASSWORD
189+
- name: MSSQL_SA_PASSWORD
190190
valueFrom:
191191
secretKeyRef:
192192
name: mssql
193-
key: SA_PASSWORD
193+
key: MSSQL_SA_PASSWORD
194194
- name: MSSQL_AGENT_ENABLED
195195
value: "TRUE"
196196
- name: MSSQL_COLLATION
@@ -225,13 +225,13 @@ In this step, create a manifest to describe the container based on the Azure SQL
225225

226226
* `persistentVolumeClaim`: This value requires an entry for `claimName:` that maps to the name used for the persistent volume claim. This tutorial uses `mssql-data`.
227227

228-
* `name: SA_PASSWORD`: Configures the container image to set the SA password, as defined in this section.
228+
* `name: MSSQL_SA_PASSWORD`: Configures the container image to set the SA password, as defined in this section.
229229

230230
```yaml
231231
valueFrom:
232232
secretKeyRef:
233233
name: mssql
234-
key: SA_PASSWORD
234+
key: MSSQL_SA_PASSWORD
235235
```
236236

237237
When Kubernetes deploys the container, it refers to the secret named `mssql` to get the value for the password.

0 commit comments

Comments
 (0)