Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update cert-csi #965

Merged
merged 1 commit into from
Jan 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 17 additions & 17 deletions content/docs/csidriver/installation/test/certcsi.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,28 +21,28 @@ There are three methods of installing `cert-csi`.
1. Download the latest release of the cert-csi zip file.

```bash
curl -LO https://github.com/dell/cert-csi/releases/download/v1.3.0/cert-csi-v1.3.0.zip
curl -LO https://github.com/dell/cert-csi/releases/download/v1.3.1/cert-csi-v1.3.1.zip
```

2. Unzip the file.

``` bash
unzip cert-csi-v1.3.0.zip
chmod +x ./cert-csi-v1.3.0
unzip cert-csi-v1.3.1.zip
chmod +x ./cert-csi-v1.3.1
```

3. Install cert-csi-v1.3.0 as cert-csi.
3. Install cert-csi-v1.3.1 as cert-csi.

```bash
sudo install -o root -g root -m 0755 cert-csi-v1.3.0 /usr/local/bin/cert-csi
sudo install -o root -g root -m 0755 cert-csi-v1.3.1 /usr/local/bin/cert-csi
```

If you do not have root access on the target system, you can still install cert-csi to the ~/.local/bin directory:

```bash
chmod +x cert-csi-v1.3.0
chmod +x cert-csi-v1.3.1
mkdir -p ~/.local/bin
mv ./cert-csi-v1.3.0 ~/.local/bin/cert-csi
mv ./cert-csi-v1.3.1 ~/.local/bin/cert-csi
# and then append (or prepend) ~/.local/bin to $PATH
```

Expand All @@ -52,14 +52,14 @@ mv ./cert-csi-v1.3.0 ~/.local/bin/cert-csi
{{% tab name="Docker" %}}

```bash
docker pull dellemc/cert-csi:v1.3.0
docker pull dellemc/cert-csi:v1.3.1
```

{{% /tab %}}
{{% tab name="Podman" %}}

```bash
podman pull dellemc/cert-csi:v1.3.0
podman pull dellemc/cert-csi:v1.3.1
```

{{% /tab %}}
Expand All @@ -74,7 +74,7 @@ mv ./cert-csi-v1.3.0 ~/.local/bin/cert-csi
1. Clone the repository

```bash
git clone -b "v1.3.0" https://github.com/dell/cert-csi.git && cd cert-csi
git clone -b "v1.3.1" https://github.com/dell/cert-csi.git && cd cert-csi
```

2. Build cert-csi
Expand Down Expand Up @@ -116,12 +116,12 @@ make install-ms
{{% /tab %}}
{{% tab name="Docker" %}}
```bash
docker run --rm -it -v ~/.kube/config:/root/.kube/config dellemc/cert-csi:v1.3.0 --help
docker run --rm -it -v ~/.kube/config:/root/.kube/config dellemc/cert-csi:v1.3.1 --help
```
{{% /tab %}}
{{% tab name="Podman" %}}
```bash
podman run --rm -it -v ~/.kube/config:/root/.kube/config dellemc/cert-csi:v1.3.0 --help
podman run --rm -it -v ~/.kube/config:/root/.kube/config dellemc/cert-csi:v1.3.1 --help
```

{{% /tab %}}
Expand Down Expand Up @@ -389,12 +389,12 @@ If you are using the container image, the `cert-config` file must be mounted int
{{< tabs name="running-container-certify" >}}
{{% tab name="Docker" %}}
```bash
docker run --rm -it -v ~/.kube/config:/root/.kube/config -v /home/user/example-certify-config.yaml:/example-certify-config.yaml dellemc/cert-csi:v1.3.0 certify --cert-config /example-certify-config.yaml --vsc <volume-snapshot-class>
docker run --rm -it -v ~/.kube/config:/root/.kube/config -v /home/user/example-certify-config.yaml:/example-certify-config.yaml dellemc/cert-csi:v1.3.1 certify --cert-config /example-certify-config.yaml --vsc <volume-snapshot-class>
```
{{% /tab %}}
{{% tab name="Podman" %}}
```bash
podman run --rm -it -v ~/.kube/config:/root/.kube/config -v /home/user/example-certify-config.yaml:/example-certify-config.yaml dellemc/cert-csi:v1.3.0 certify --cert-config /example-certify-config.yaml --vsc <volume-snapshot-class>
podman run --rm -it -v ~/.kube/config:/root/.kube/config -v /home/user/example-certify-config.yaml:/example-certify-config.yaml dellemc/cert-csi:v1.3.1 certify --cert-config /example-certify-config.yaml --vsc <volume-snapshot-class>
```

{{% /tab %}}
Expand Down Expand Up @@ -587,12 +587,12 @@ If you are using the container image, the `attr` file must be mounted into the c
{{< tabs name="running-container-ephemeral-volume" >}}
{{% tab name="Docker" %}}
```bash
docker run --rm -it -v ~/.kube/config:/root/.kube/config -v /home/user/ephemeral-config.properties:/ephemeral-config.properties dellemc/cert-csi:v1.3.0 test ephemeral-volume --driver <driver-name> --attr /ephemeral-config.properties
docker run --rm -it -v ~/.kube/config:/root/.kube/config -v /home/user/ephemeral-config.properties:/ephemeral-config.properties dellemc/cert-csi:v1.3.1 test ephemeral-volume --driver <driver-name> --attr /ephemeral-config.properties
```
{{% /tab %}}
{{% tab name="Podman" %}}
```bash
podman run --rm -it -v ~/.kube/config:/root/.kube/config -v /home/user/ephemeral-config.properties:/ephemeral-config.properties dellemc/cert-csi:v1.3.0 test ephemeral-volume --driver <driver-name> --attr /ephemeral-config.properties
podman run --rm -it -v ~/.kube/config:/root/.kube/config -v /home/user/ephemeral-config.properties:/ephemeral-config.properties dellemc/cert-csi:v1.3.1 test ephemeral-volume --driver <driver-name> --attr /ephemeral-config.properties
```

{{% /tab %}}
Expand Down Expand Up @@ -840,4 +840,4 @@ Tabular Report example

### Resource usage example chart

![img9](../img/resourceUsage.png)
![img9](../img/resourceUsage.png)
Loading