Skip to content

Commit

Permalink
elasticsearch prod: Add Role and RoleBinding for RBAC (#207)
Browse files Browse the repository at this point in the history
Replicating #106 for the elastic search production cluster.
  • Loading branch information
gsacavdm authored and ahmetb committed Mar 5, 2018
1 parent 980a149 commit dfc12dd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions staging/elasticsearch/production_cluster/README.md
Expand Up @@ -25,6 +25,13 @@ kubectl create -f staging/elasticsearch/production_cluster/es-svc.yaml
kubectl create -f staging/elasticsearch/production_cluster/es-master-rc.yaml
```

The [io.fabric8:elasticsearch-cloud-kubernetes](https://github.com/fabric8io/elasticsearch-cloud-kubernetes) plugin requires limited access to the Kubernetes API in order to fetch the list of Elasticsearch endpoints.
If your cluster has the RBAC authorization mode enabled, create the additional `Role` and `RoleBinding` with:

```
kubectl create -f staging/elasticsearch/rbac.yaml
```

Wait until `es-master` is provisioned, and

```
Expand Down

0 comments on commit dfc12dd

Please sign in to comment.