From 877840d6f096e1291ac85f656abc604a2c493b6c Mon Sep 17 00:00:00 2001 From: Carlos Mendible Date: Sat, 9 Mar 2019 16:06:31 +0100 Subject: [PATCH 1/2] updated description when using cluster-scoped flag When using ` cluster-scoped` flag, in the file `deploy/role_binding.yaml` CluserRole is used instead of Role --- doc/user-guide.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/user-guide.md b/doc/user-guide.md index 06a6784b0b4..86d063c49b2 100644 --- a/doc/user-guide.md +++ b/doc/user-guide.md @@ -61,6 +61,7 @@ Using `--cluster-scoped` will scaffold the new operator with the following modif * `deploy/role.yaml` - Use `ClusterRole` instead of `Role` * `deploy/role_binding.yaml`: * Use `ClusterRoleBinding` instead of `RoleBinding` + * Use `ClusterRole` instead of `Role` * Set the subject namespace to `REPLACE_NAMESPACE`. This must be changed to the namespace in which the operator is deployed. ### Manager From fd1215f0bd4eab9fc91bde712b9f4b120b2bcc56 Mon Sep 17 00:00:00 2001 From: Carlos Mendible Date: Thu, 14 Mar 2019 19:22:59 +0100 Subject: [PATCH 2/2] Improved the documentation Changed from: Use `ClusterRole` instead of `Role` to Use `ClusterRole` instead of `Role` for roleRef --- doc/user-guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/user-guide.md b/doc/user-guide.md index 86d063c49b2..fc893ed6565 100644 --- a/doc/user-guide.md +++ b/doc/user-guide.md @@ -61,7 +61,7 @@ Using `--cluster-scoped` will scaffold the new operator with the following modif * `deploy/role.yaml` - Use `ClusterRole` instead of `Role` * `deploy/role_binding.yaml`: * Use `ClusterRoleBinding` instead of `RoleBinding` - * Use `ClusterRole` instead of `Role` + * Use `ClusterRole` instead of `Role` for roleRef * Set the subject namespace to `REPLACE_NAMESPACE`. This must be changed to the namespace in which the operator is deployed. ### Manager