diff --git a/kata-deploy/README.md b/kata-deploy/README.md index a1eea85327..18b1bedd5a 100644 --- a/kata-deploy/README.md +++ b/kata-deploy/README.md @@ -71,8 +71,8 @@ After completing, the original `daemon.json`, if it existed, is restored and all ### Install Kata on a running Kubernetes cluster ```sh -$ kubectl apply -f kata-rbac.yaml -$ kubectl apply -f kata-deploy.yaml +$ kubectl apply -f https://raw.githubusercontent.com/kata-containers/packaging/master/kata-deploy/kata-rbac/base/kata-rbac.yaml +$ kubectl apply -f https://raw.githubusercontent.com/kata-containers/packaging/master/kata-deploy/kata-deploy/base/kata-deploy.yaml ``` ### Run a sample workload diff --git a/kata-deploy/kata-cleanup.yaml b/kata-deploy/kata-cleanup/base/kata-cleanup.yaml similarity index 100% rename from kata-deploy/kata-cleanup.yaml rename to kata-deploy/kata-cleanup/base/kata-cleanup.yaml diff --git a/kata-deploy/kata-cleanup/base/kustomization.yaml b/kata-deploy/kata-cleanup/base/kustomization.yaml new file mode 100644 index 0000000000..6c548a0441 --- /dev/null +++ b/kata-deploy/kata-cleanup/base/kustomization.yaml @@ -0,0 +1,2 @@ +resources: +- kata-cleanup.yaml diff --git a/kata-deploy/kata-deploy.yaml b/kata-deploy/kata-deploy/base/kata-deploy.yaml similarity index 100% rename from kata-deploy/kata-deploy.yaml rename to kata-deploy/kata-deploy/base/kata-deploy.yaml diff --git a/kata-deploy/kata-deploy/base/kustomization.yaml b/kata-deploy/kata-deploy/base/kustomization.yaml new file mode 100644 index 0000000000..6b6d8e4cfb --- /dev/null +++ b/kata-deploy/kata-deploy/base/kustomization.yaml @@ -0,0 +1,2 @@ +resources: +- kata-deploy.yaml diff --git a/kata-deploy/kata-rbac.yaml b/kata-deploy/kata-rbac/base/kata-rbac.yaml similarity index 100% rename from kata-deploy/kata-rbac.yaml rename to kata-deploy/kata-rbac/base/kata-rbac.yaml diff --git a/kata-deploy/kata-rbac/base/kustomization.yaml b/kata-deploy/kata-rbac/base/kustomization.yaml new file mode 100644 index 0000000000..a79f10e850 --- /dev/null +++ b/kata-deploy/kata-rbac/base/kustomization.yaml @@ -0,0 +1,2 @@ +resources: +- kata-rbac.yaml