Skip to content

Commit

Permalink
mention service account configuration in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
cppforlife committed Jun 22, 2020
1 parent bb8eca6 commit 3e5c073
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions examples/README.md
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 3e5c073

Please sign in to comment.