Skip to content

Commit 04452c8

Browse files
yardenshohamphlogistonjohn
authored andcommitted
Style code blocks as YAML in howto.md
Signed-off-by: Yarden Shoham <[email protected]>
1 parent 57d9a3c commit 04452c8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/howto.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ to its documentation on how to install the csi driver.
216216
First create a (non provisioning) storage class to differentiate SMB shares
217217
from other storage.
218218

219-
```
219+
```yaml
220220
apiVersion: storage.k8s.io/v1
221221
kind: StorageClass
222222
metadata:
@@ -233,7 +233,7 @@ username/password pair that exists in your AD. When using pre-defined users &
233233
groups the username/password pair must match one that is defined in the JSON
234234
embedded in the secret associated with your SmbSecurityConfig.
235235

236-
```
236+
```yaml
237237
apiVersion: v1
238238
kind: Secret
239239
metadata:
@@ -248,7 +248,7 @@ stringData:
248248
The following persistent volume will allow mounting the share.
249249
Note the `spec.csi.volumeAttributes.source`: `myshare` is the share's service name, `mynamespace` the namespace the `SmbShare` is in and `My Great Share` is the share's `shareName` as configured or the share's name if not.
250250

251-
```
251+
```yaml
252252
apiVersion: v1
253253
kind: PersistentVolume
254254
metadata:
@@ -280,7 +280,7 @@ spec:
280280
```
281281

282282
Then the volume claim can be created and should bind shorty after to the persistent volume.
283-
```
283+
```yaml
284284
apiVersion: v1
285285
kind: PersistentVolumeClaim
286286
metadata:

0 commit comments

Comments
 (0)