From 3e5c073b6548222e967da8f085826ffdf12f184e Mon Sep 17 00:00:00 2001 From: Dmitriy Kalinin Date: Mon, 22 Jun 2020 14:49:05 -0400 Subject: [PATCH] mention service account configuration in examples --- examples/README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 examples/README.md diff --git a/examples/README.md b/examples/README.md new file mode 100644 index 000000000..d8f7fceff --- /dev/null +++ b/examples/README.md @@ -0,0 +1,13 @@ +## Examples + +Since you need to provide service account for App CRs, we've included two common service account configurations: + +- https://github.com/k14s/kapp-controller/blob/master/examples/rbac/default-ns.yml: It creates `default-ns-sa` service account in `default` namespace that allows to change any resource in `default` namespace. (Example usage: `simple-app-http.yml`) + +- https://github.com/k14s/kapp-controller/blob/master/examples/rbac/cluster-admin.yml: It creates `cluster-admin-sa` service account within `default` namespace that allows to change _any_ resource in the cluster. (Example usage: `istio-knative.yml`) + +```bash +$ kapp deploy -a default-ns-rbac -f https://github.com/k14s/kapp-controller/blob/master/examples/rbac/default-ns.yml +``` + +Once that's done, deploy any example in this repo.