Skip to content

Commit 283ac6f

Browse files
madornhasbro17
authored andcommitted
doc/helm/dev: remove apply of RBAC definitions (#1668)
1 parent 1cde3f3 commit 283ac6f

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

doc/helm/dev/developer_guide.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -279,17 +279,15 @@ sudo mkdir -p /opt/helm/helm-charts
279279
sudo ln -s $PWD/helm-charts/<name> /opt/helm/helm-charts/<name>
280280
```
281281

282-
Create a Custom Resource Definition (CRD) and proper Role-Based Access Control
283-
(RBAC) definitions for resource Foo. `operator-sdk` autogenerates these files
282+
Create a Custom Resource Definition (CRD) for resource Foo. `operator-sdk` autogenerates this file
284283
inside of the `deploy` folder:
285284

286285
```sh
287286
kubectl create -f deploy/crds/foo_v1alpha1_foo_crd.yaml
288-
kubectl create -f deploy/service_account.yaml
289-
kubectl create -f deploy/role.yaml
290-
kubectl create -f deploy/role_binding.yaml
291287
```
292288

289+
**NOTE:** When running the Helm operator locally, the `up local` command will default to using the kubeconfig file specified by `$KUBECONFIG` with a fallback to `$HOME/.kube/config` if not set. In this case, the autogenerated RBAC definitions do not need to be applied to the cluster.
290+
293291
Run the `up local` command:
294292

295293
```sh

0 commit comments

Comments
 (0)