Created
February 11, 2019 01:53
-
-
Save shawnho1018/0413c272f59f246e349b8cf92b324de2 to your computer and use it in GitHub Desktop.
F5 Role
This file contains 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
kind: ClusterRole | |
apiVersion: rbac.authorization.k8s.io/v1beta1 | |
metadata: | |
name: bigip-ctlr-clusterrole | |
rules: | |
- apiGroups: ["", "extensions"] | |
resources: ["nodes", "services", "endpoints", "namespaces", "ingresses", "pods"] | |
verbs: ["get", "list", "watch"] | |
- apiGroups: ["", "extensions"] | |
resources: ["configmaps", "events", "ingresses/status"] | |
verbs: ["get", "list", "watch", "update", "create", "patch"] | |
- apiGroups: ["", "extensions"] | |
resources: ["secrets"] | |
resourceNames: ["bigip-login"] | |
verbs: ["get", "list", "watch"] | |
--- | |
kind: ClusterRoleBinding | |
apiVersion: rbac.authorization.k8s.io/v1beta1 | |
metadata: | |
name: bigip-ctlr-clusterrole-binding | |
namespace: kube-system | |
roleRef: | |
apiGroup: rbac.authorization.k8s.io | |
kind: ClusterRole | |
name: bigip-ctlr-clusterrole | |
subjects: | |
- kind: ServiceAccount | |
name: bigip-ctlr | |
namespace: kube-system |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment