Skip to content

Commit 19f7a35

Browse files
committed
Fixed CRD YAML link.
1 parent b3034e0 commit 19f7a35

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docs/example-snapshot-metadata.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,18 @@ This document outlines the steps to test this feature on a Kubernetes cluster us
2121

2222
### Deploy the CSI hostpath driver with a Kubernetes SnapshotMetadata service
2323

24-
Setting up the CSI hostpath driver with a Kubernetes SnapshotMetadata service requires provisioning TLS certificates, creating TLS secrets, a SnapshotMetadata custom resource, patching the csi-hostpathplugin deployments, etc.
24+
Setting up the CSI hostpath driver with a Kubernetes SnapshotMetadata service requires provisioning TLS certificates, creating TLS secrets, a `SnapshotMetadataService` custom resource, patching the csi-hostpathplugin deployments, etc.
2525
These steps are automated in the `deploy.sh` script used to deploy CSI Hostpath driver into the current namespace when invoked with the
2626
appropriate environment variable.
2727

2828
Follow the steps below to deploy the CSI hostpath driver with a Kubernetes SnapshotMetadata service:
2929

30-
1. Create the `SnapshotMetadataService` CRD using the definition in the
31-
[external-snapshot-metadata](https://github.com/kubernetes-csi/external-snapshot-metadata/tree/main/examples/snapshot-metadata-lister) repository.
30+
1. Install the `SnapshotMetadataService` CRD using the definition in the
31+
[external-snapshot-metadata](https://github.com/kubernetes-csi/external-snapshot-metadata/blob/main/client/config/crd/cbt.storage.k8s.io_snapshotmetadataservices.yaml) repository.
3232
```
33-
kubectl create -f https://raw.githubusercontent.com/kubernetes-csi/external-snapshot-metadata/main/client/config/crd/cbt.storage.k8s.io_snapshotmetadataservices.yaml
33+
kubectl apply -f https://raw.githubusercontent.com/kubernetes-csi/external-snapshot-metadata/main/client/config/crd/cbt.storage.k8s.io_snapshotmetadataservices.yaml
3434
```
35+
The deploy script will create an instance of this CR.
3536

3637
2. Execute the deploy script to setup the hostpath plugin driver with the Kubernetes SnapshotMetadata service:
3738
```

0 commit comments

Comments
 (0)