Created
November 17, 2018 13:19
-
-
Save yudaykiran/d5bf67c9446aca424536d64f83071c99 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: rbac.authorization.k8s.io/v1 | |
metadata: | |
name: elasticsearch-logging | |
labels: | |
k8s-app: elasticsearch-logging | |
kubernetes.io/cluster-service: "true" | |
addonmanager.kubernetes.io/mode: Reconcile | |
rules: | |
- apiGroups: | |
- "" | |
resources: | |
- "services" | |
- "namespaces" | |
- "endpoints" | |
verbs: | |
- "get" | |
--- | |
kind: ClusterRoleBinding | |
apiVersion: rbac.authorization.k8s.io/v1 | |
metadata: | |
namespace: logging | |
name: elasticsearch-logging | |
labels: | |
k8s-app: elasticsearch-logging | |
kubernetes.io/cluster-service: "true" | |
addonmanager.kubernetes.io/mode: Reconcile | |
subjects: | |
- kind: ServiceAccount | |
name: elasticsearch-logging | |
namespace: logging | |
apiGroup: "" | |
roleRef: | |
kind: ClusterRole | |
name: elasticsearch-logging | |
apiGroup: "" | |
--- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment