Skip to content

Commit abc947d

Browse files
ashleyvjoysanthoshatdellsidharth30060anandrajak1francis-nijay
authored
Corrected PowerStore Secret section for Authorization (#1663)
Co-authored-by: santhoshatdell <[email protected]> Co-authored-by: Sidharth Sharma <[email protected]> Co-authored-by: AnandatDell <[email protected]> Co-authored-by: nijayf <[email protected]>
1 parent e7c36c7 commit abc947d

File tree

1 file changed

+21
-6
lines changed
  • content/docs/concepts/authorization/v2.x/configuration/powerstore

1 file changed

+21
-6
lines changed

content/docs/concepts/authorization/v2.x/configuration/powerstore/_index.md

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,29 @@ Given a setup where Kubernetes, a storage system, and the Authorization Proxy Se
1919

2020
This takes the assumption that PowerStore will be installed in the `powerstore` namespace.
2121

22-
2. Edit these parameters in `samples/secret/karavi-authorization-config.json` file in the [CSI PowerStore](https://github.com/dell/csi-powerstore/tree/main/samples/secret/karavi-authorization-config.json) driver and update/add connection information for one or more backend storage arrays. In an instance where multiple CSI drivers are configured on the same Kubernetes cluster, the port range in the *endpoint* parameter must be different for each driver.
23-
24-
{{< collapse id="1" title="Parameters">}}
22+
2. Edit these parameters in below yaml file and update/add connection information for one or more backend storage arrays as csm-authorization-config.json. In an instance where multiple CSI drivers are configured on the same Kubernetes cluster, the port range in the *endpoint* parameter must be different for each driver.
23+
24+
```json
25+
[{
26+
"username":"",
27+
"password":"",
28+
"intendedEndpoint":"",
29+
"endpoint":"https://localhost:9400",
30+
"systemID":"",
31+
"skipCertificateValidation":true,
32+
"isDefault":true,
33+
"insecure":true
34+
}]
35+
```
36+
37+
{{<collapse id="1" title="Parameters">}}
2538
| Parameter | Description | Required | Default |
2639
| ------------------------- | ---------------------------------------------------------------------------------------------------------------- | -------- | ------------------------------ |
2740
| username | Username for connecting to the backend storage array. This parameter is ignored. | No | - |
2841
| password | Password for connecting to to the backend storage array. This parameter is ignored. | No | - |
2942
| intendedEndpoint | HTTPS REST API endpoint of the backend storage array. | Yes | - |
3043
| endpoint | HTTPS localhost endpoint that the authorization sidecar will listen on. | Yes | https://localhost:9400 |
31-
| systemID | System ID of the backend storage array. | Yes | " " |
44+
| systemID | System ID will be the GlobalID of the backend storage array. | Yes | " " |
3245
| skipCertificateValidation | A boolean that enables/disables certificate validation of the backend storage array. This parameter is not used. | No | true |
3346
| isDefault | A boolean that indicates if the array is the default array. This parameter is not used. | No | default value from values.yaml |
3447
{{< /collapse >}}
@@ -70,9 +83,10 @@ Given a setup where Kubernetes, a storage system, and the Authorization Proxy Se
7083
```yaml
7184
- username: "ignored"
7285
password: "ignored"
73-
systemID: "ID2"
86+
globalID: "unique"
7487
endpoint: "https://localhost:9400"
7588
skipCertificateValidation: true
89+
blockProtocol: "FC"
7690
isDefault: true
7791
```
7892

@@ -89,9 +103,10 @@ Given a setup where Kubernetes, a storage system, and the Authorization Proxy Se
89103
```yaml
90104
- username: "ignored"
91105
password: "ignored"
92-
systemID: "ID2"
106+
globalID: "unique"
93107
endpoint: "https://localhost:9400"
94108
skipCertificateValidation: true
109+
blockProtocol: "FC"
95110
isDefault: true
96111
```
97112

0 commit comments

Comments
 (0)