Unverified Commit aff7adcd by Weilbyte

Move bases to bases instead of resources

parent 8cd434fc
...@@ -32,11 +32,11 @@ Make sure your NFS server is accessible from your Kubernetes cluster and get the ...@@ -32,11 +32,11 @@ Make sure your NFS server is accessible from your Kubernetes cluster and get the
**Step 2: Add the base resource** **Step 2: Add the base resource**
Create a `kustomization.yaml` file in a directory of your choice, and add the [deploy](https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner/tree/master/deploy) directory as a resource. This will use the kustomization file within that directory as our base. Create a `kustomization.yaml` file in a directory of your choice, and add the [deploy](https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner/tree/master/deploy) directory as a base. This will use the kustomization file within that directory as our base.
```yaml ```yaml
namespace: nfs-provisioner namespace: nfs-provisioner
resources: bases:
- github.com/kubernetes-sigs/nfs-subdir-external-provisioner//deploy - github.com/kubernetes-sigs/nfs-subdir-external-provisioner//deploy
``` ```
...@@ -89,8 +89,9 @@ Add the namespace resource and patch you created in earlier steps. ...@@ -89,8 +89,9 @@ Add the namespace resource and patch you created in earlier steps.
```yaml ```yaml
namespace: nfs-provisioner namespace: nfs-provisioner
resources: bases:
- github.com/kubernetes-sigs/nfs-subdir-external-provisioner//deploy - github.com/kubernetes-sigs/nfs-subdir-external-provisioner//deploy
resources:
- namespace.yaml - namespace.yaml
patchesStrategicMerge: patchesStrategicMerge:
- patch_nfs_details.yaml - patch_nfs_details.yaml
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment