Fix instructions to comply with MD031 (blanks-around-fences)
This commit is contained in:
parent
0d5e4147f5
commit
eee6810fe9
|
|
@ -43,6 +43,7 @@ resources:
|
||||||
**Step 3: Create namespace resource**
|
**Step 3: Create namespace resource**
|
||||||
|
|
||||||
Create a file with your namespace resource. The name can be anything as it will get overwritten by the namespace in your kustomization file.
|
Create a file with your namespace resource. The name can be anything as it will get overwritten by the namespace in your kustomization file.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# namespace.yaml
|
# namespace.yaml
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
|
@ -85,6 +86,7 @@ Replace occurrences of `<YOUR_NFS_SERVER_IP>` and `<YOUR_NFS_SERVER_SHARE>` with
|
||||||
**Step 5: Add resources and deploy**
|
**Step 5: Add resources and deploy**
|
||||||
|
|
||||||
Add the namespace resource and patch you created in earlier steps.
|
Add the namespace resource and patch you created in earlier steps.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
namespace: nfs-provisioner
|
namespace: nfs-provisioner
|
||||||
resources:
|
resources:
|
||||||
|
|
@ -93,7 +95,9 @@ resources:
|
||||||
patchesStrategicMerge:
|
patchesStrategicMerge:
|
||||||
- patch_nfs_details.yaml
|
- patch_nfs_details.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
Deploy (run inside folder with your kustomization file):
|
Deploy (run inside folder with your kustomization file):
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
kubectl -k .
|
kubectl -k .
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue