You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/linux/sql-server-linux-kubernetes-rotate-credentials.md
+26-26Lines changed: 26 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,32 +40,6 @@ To rotate the credentials:
40
40
41
41
The Kubernetes cluster rotates the credentials as a job.
42
42
43
-
## Environment variables
44
-
45
-
*`MSSQL_K8S_SA_PASSWORD`
46
-
* Required
47
-
***Description**: The current `sa` password of the SQL Server instance.
48
-
49
-
*`MSSQL_K8S_STATEFULSET_NAME `
50
-
* Required
51
-
***Description**: The name of the SQL Server StatefulSet, the same as the custom resource name.
52
-
53
-
*`MSSQL_K8S_NAMESPACE`
54
-
* Optional
55
-
***Description**: Kubernetes namespace of the availability group.
56
-
57
-
*`MSSQL_ROTATE_CERT`
58
-
* Optional
59
-
***Description**: Boolean to rotate the database mirroring endpoint certificate.
60
-
61
-
*`MSSQL_K8S_MASTER_KEY_PASSWORD`
62
-
* Optional
63
-
***Description**: The master key password.
64
-
65
-
*`MSSQL_K8S_NEW_SA_PASSWORD`
66
-
* Optional
67
-
***Description**: The new `sa` password the SQL Server instance.
68
-
69
43
## Example
70
44
71
45
The following example of a manifest is a `.yaml` file that creates a job to rotate the credentials of all of the instances of SQL Server that participate in an availability group.
@@ -163,6 +137,32 @@ spec:
163
137
key: sapassword
164
138
```
165
139
140
+
## Environment variables
141
+
142
+
* `MSSQL_K8S_SA_PASSWORD`
143
+
* Required
144
+
* **Description**: The current `sa` password of the SQL Server instance.
145
+
146
+
* `MSSQL_K8S_STATEFULSET_NAME `
147
+
* Required
148
+
* **Description**: The name of the SQL Server StatefulSet, the same as the custom resource name.
149
+
150
+
* `MSSQL_K8S_NAMESPACE`
151
+
* Optional
152
+
* **Description**: Kubernetes namespace of the availability group.
153
+
154
+
* `MSSQL_ROTATE_CERT`
155
+
* Optional
156
+
* **Description**: Boolean to rotate the database mirroring endpoint certificate.
157
+
158
+
* `MSSQL_K8S_MASTER_KEY_PASSWORD`
159
+
* Optional
160
+
* **Description**: The master key password.
161
+
162
+
* `MSSQL_K8S_NEW_SA_PASSWORD`
163
+
* Optional
164
+
* **Description**: The new `sa` password the SQL Server instance.
165
+
166
166
## Next steps
167
167
168
168
[SQL Server availability group on Kubernetes cluster](sql-server-ag-kubernetes.md)
0 commit comments