From f386bfc4ce303b99acb81a3c6f26607d9d100e44 Mon Sep 17 00:00:00 2001 From: Pawan Prakash Sharma Date: Sat, 31 Oct 2020 10:06:22 +0530 Subject: [PATCH] feat(kustomize): adding deployment via kustomize (#231) Signed-off-by: Pawan --- README.md | 2 ++ changelogs/unreleased/231-pawanpraka1 | 1 + deploy/yamls/kustomize.yaml | 10 ++++++++++ 3 files changed, 13 insertions(+) create mode 100644 changelogs/unreleased/231-pawanpraka1 create mode 100644 deploy/yamls/kustomize.yaml diff --git a/README.md b/README.md index 7f83efd..0297f76 100644 --- a/README.md +++ b/README.md @@ -92,6 +92,8 @@ We can install the latest release of OpenEBS ZFS driver by running the following $ kubectl apply -f https://openebs.github.io/charts/zfs-operator.yaml ``` +We can also install it via kustomize using `kubectl apply -k deploy/yamls`, check the [kustomize yaml](deploy/yamls/kustomize.yaml) + Verify that the ZFS driver Components are installed and running using below command : ``` diff --git a/changelogs/unreleased/231-pawanpraka1 b/changelogs/unreleased/231-pawanpraka1 new file mode 100644 index 0000000..66340a6 --- /dev/null +++ b/changelogs/unreleased/231-pawanpraka1 @@ -0,0 +1 @@ +adding deployment yaml via kustomize diff --git a/deploy/yamls/kustomize.yaml b/deploy/yamls/kustomize.yaml new file mode 100644 index 0000000..1c0f54e --- /dev/null +++ b/deploy/yamls/kustomize.yaml @@ -0,0 +1,10 @@ +images: + - name: quay.io/openebs/zfs-driver + newTag: ci +resources: +- namespace.yaml +- zfsvolume-crd.yaml +- zfssnapshot-crd.yaml +- zfsbackup-crd.yaml +- zfsrestore-crd.yaml +- zfs-driver.yaml