Skip to content

Commit

Permalink
review comments addressed
Browse files Browse the repository at this point in the history
  • Loading branch information
KshitijaKakde committed Jun 7, 2024
1 parent 71186fe commit 5319539
Showing 1 changed file with 42 additions and 45 deletions.
87 changes: 42 additions & 45 deletions content/docs/deployment/csmoperator/modules/authorization.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,74 +149,71 @@ Follow the instructions available in CSM Authorization for [Configuring a Dell C

This section outlines the upgrade steps for Container Storage Modules (CSM) for Authorization. The upgrade of CSM for Authorization is handled in 2 parts:
1) Upgrading the Authorization proxy server
2) Upgrading CSI Driver , Authorization sidecar with Authorization module enabled
2) Upgrading CSI Driver, Authorization sidecar with Authorization module enabled


- Upgrading the Authorization Proxy Server
## Upgrading the Authorization Proxy Server

Modifying the existing Authorization Proxy Server installation directly via `kubectl edit`

```sh
kubectl get <csm-object> -n <module-namespace>
```
1. Modifying the existing Authorization Proxy Server installation directly via `kubectl edit`
```sh
kubectl get csm -n <module-namespace>
```

For example - If the Authorization Proxy Server is installed then run this command to get the object name
For example - If the Authorization Proxy Server is installed in authorization namespace then run this command to get the object name

```sh
# Replace module-namespace with the namespace where the Authorization Proxy Server is installed
$ kubectl get csm -n <module-namespace>
```
```sh
$ kubectl get csm -n authorization
```

use the object name in `kubectl edit` command.
use the object name in `kubectl edit` command.

```sh
kubectl edit csm <object-name> -n <module-namespace>
```
```sh
kubectl edit csm <object-name> -n <module-namespace>
```

For example - If the object name is authorization then use the name as authorization
For example - If the object name is authorization then use the name as authorization and if the namespace is authorization, then run this command to edit the object

```sh
# Replace object-name with the authorization
kubectl edit csm authorization -n <module-namespace>
```sh
kubectl edit csm authorization -n authorization
```

- Modify the installation
2. Modify the installation

- Update the CSM Authorization Proxy Server configVersion
- Update the images for proxyService, tenantService, roleService and storageService
- Update the CSM Authorization Proxy Server configVersion
- Update the images for proxyService, tenantService, roleService and storageService


- Upgrading CSI Driver , Authorization sidecar with Authorization module enabled
## Upgrading CSI Driver, Authorization sidecar with Authorization module enabled

Modifying the existing driver and module installation directly via `kubectl edit`
1. Modifying the existing driver and module installation directly via `kubectl edit`

```sh
kubectl get <driver-object> -n <driver-namespace>
```
```sh
kubectl get <driver-object> -n <driver-namespace>
```

For example - If the CSI PowerFlex driver is installed then run this command to get the object name
For example - If the CSI PowerFlex driver is installed in vxflexos namepace then run this command to get the object name

```sh
# Replace driver-namespace with the namespace where the CSI PowerFlex driver is installed
$ kubectl get csm -n <driver-namespace>
```
```sh
kubectl get csm -n vxflexos
```

use the object name in `kubectl edit` command.
use the object name in `kubectl edit` command.

```sh
kubectl edit csm <driver-object>/<object-name> -n <driver-namespace>
```
```sh
kubectl edit csm <driver-object>/<object-name> -n <driver-namespace>
```

For example - If the object name is vxflexos then use the name as vxflexos
For example - If the object name is vxflexos then use the name as vxflexos and if the driver is installed in vxflexos namespace, then run this command to edit the object

```sh
# Replace object-name with the vxflexos
kubectl edit csm vxflexos -n <driver-namespace>
```
```sh
kubectl edit csm vxflexos -n vxflexos
```

- Modify the installation
2. Modify the installation

- Update the driver config version and image tag
- Update the Authorization config version and karavi-authorization-proxy image.
- Update the driver config version and image tag
- Update the Authorization config version and karavi-authorization-proxy image.

>NOTE:
Expand Down

0 comments on commit 5319539

Please sign in to comment.