Skip to content

Commit 670fc07

Browse files
committed
doc: use csi.ceph.io/v1 instead of v1alpha1
The API moved to v1, but the quickstart and other documents still referred to v1alpha1. Signed-off-by: Niels de Vos <ndevos@ibm.com>
1 parent 31acef5 commit 670fc07

File tree

5 files changed

+18
-18
lines changed

5 files changed

+18
-18
lines changed

docs/design/hostNetwork.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Example:
2222

2323
```yaml
2424
kind: OperatorConfig
25-
apiVersion: csi.ceph.io/v1alpha1
25+
apiVersion: csi.ceph.io/v1
2626
metadata:
2727
name: ceph-csi-operator-config
2828
namespace: <operator-namespace>
@@ -34,7 +34,7 @@ spec:
3434
## Driver CR
3535
3636
```yaml
37-
apiVersion: csi.ceph.io/v1alpha1
37+
apiVersion: csi.ceph.io/v1
3838
kind: Driver
3939
metadata:
4040
name: rbd.csi.ceph.com

docs/design/logrotate.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Logroate configuration,
88

99
```yaml
1010
kind: OperatorConfig
11-
apiVersion: csi.ceph.io/v1alpha1
11+
apiVersion: csi.ceph.io/v1
1212
….
1313
spec:
1414
log:
@@ -28,7 +28,7 @@ Similar settings will be overridden by `Driver CRD`:
2828

2929
```yaml
3030
kind: Driver
31-
apiVersion: csi.ceph.io/v1alpha1
31+
apiVersion: csi.ceph.io/v1
3232
metadata:
3333
name: "<prefix>.<driver_type>.csi.ceph.com"
3434
namespace: <operator-namespace>

docs/design/operator.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ The configurations are categorized into 2 different types
7878
```yaml
7979
---
8080
kind: OperatorConfig
81-
apiVersion: csi.ceph.io/v1alpha1
81+
apiVersion: csi.ceph.io/v1
8282
metadata:
8383
name: ceph-csi-operator-config
8484
namespace: <operator-namespace>
@@ -259,7 +259,7 @@ RBD, and NFS CSI drivers within namespaces.
259259
```yaml
260260
---
261261
kind: Driver
262-
apiVersion: csi.ceph.io/v1alpha1
262+
apiVersion: csi.ceph.io/v1
263263
metadata:
264264
name: "<prefix>.<driver_type>.csi.ceph.com"
265265
namespace: <operator-namespace>
@@ -311,7 +311,7 @@ provide the information to be used by multiple CSI drivers.
311311
```yaml
312312
---
313313
kind: CephConnection
314-
apiVersion: csi.ceph.io/v1alpha1
314+
apiVersion: csi.ceph.io/v1
315315
metadata:
316316
name: ceph-cluster-1
317317
namespace: <operator-namespace>
@@ -338,7 +338,7 @@ the connection information for the target Ceph cluster.
338338
```yaml
339339
---
340340
kind: ClientProfile
341-
apiVersion: csi.ceph.io/v1alpha1
341+
apiVersion: csi.ceph.io/v1
342342
metadata:
343343
name: storage
344344
namespace: <operator-namespace>

docs/kubernetes-installation.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ Once the operator is installed, deploy the Ceph-CSI drivers:
135135

136136
```console
137137
echo '
138-
apiVersion: csi.ceph.io/v1alpha1
138+
apiVersion: csi.ceph.io/v1
139139
kind: Driver
140140
metadata:
141141
name: rbd.csi.ceph.com
@@ -147,7 +147,7 @@ metadata:
147147

148148
```console
149149
echo '
150-
apiVersion: csi.ceph.io/v1alpha1
150+
apiVersion: csi.ceph.io/v1
151151
kind: Driver
152152
metadata:
153153
name: cephfs.csi.ceph.com
@@ -159,7 +159,7 @@ metadata:
159159

160160
```console
161161
echo '
162-
apiVersion: csi.ceph.io/v1alpha1
162+
apiVersion: csi.ceph.io/v1
163163
kind: Driver
164164
metadata:
165165
name: nfs.csi.ceph.com
@@ -189,7 +189,7 @@ Create a CephConnection CR to connect to the Ceph cluster:
189189

190190
```console
191191
echo '
192-
apiVersion: csi.ceph.io/v1alpha1
192+
apiVersion: csi.ceph.io/v1
193193
kind: CephConnection
194194
metadata:
195195
name: ceph-connection
@@ -207,7 +207,7 @@ the CephConnection CR and the CephFS and RBD configurations:
207207

208208
```console
209209
echo '
210-
apiVersion: csi.ceph.io/v1alpha1
210+
apiVersion: csi.ceph.io/v1
211211
kind: ClientProfile
212212
metadata:
213213
name: storage

docs/quick-start.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Once the operator is installed, deploy the Ceph-CSI drivers:
4444

4545
```console
4646
echo '
47-
apiVersion: csi.ceph.io/v1alpha1
47+
apiVersion: csi.ceph.io/v1
4848
kind: Driver
4949
metadata:
5050
name: rbd.csi.ceph.com
@@ -56,7 +56,7 @@ metadata:
5656

5757
```console
5858
echo '
59-
apiVersion: csi.ceph.io/v1alpha1
59+
apiVersion: csi.ceph.io/v1
6060
kind: Driver
6161
metadata:
6262
name: cephfs.csi.ceph.com
@@ -68,7 +68,7 @@ metadata:
6868

6969
```console
7070
echo '
71-
apiVersion: csi.ceph.io/v1alpha1
71+
apiVersion: csi.ceph.io/v1
7272
kind: Driver
7373
metadata:
7474
name: nfs.csi.ceph.com
@@ -98,7 +98,7 @@ Create a CephConnection CR to connect to the Ceph cluster:
9898

9999
```console
100100
echo '
101-
apiVersion: csi.ceph.io/v1alpha1
101+
apiVersion: csi.ceph.io/v1
102102
kind: CephConnection
103103
metadata:
104104
name: ceph-connection
@@ -116,7 +116,7 @@ the CephConnection CR and the CephFS and RBD configurations:
116116

117117
```console
118118
echo '
119-
apiVersion: csi.ceph.io/v1alpha1
119+
apiVersion: csi.ceph.io/v1
120120
kind: ClientProfile
121121
metadata:
122122
name: storage

0 commit comments

Comments
 (0)