refactor for better error reporting on sql error (#1016)
* refactor for better error reporting on sql error * fix errors * add docsmaster
parent
f6d9e19ecb
commit
f070d447ef
@ -0,0 +1,9 @@
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: endpoints-reader
|
||||
rules:
|
||||
- apiGroups: [""]
|
||||
resources: ["endpoints"]
|
||||
verbs: ["get", "watch", "list"]
|
||||
|
@ -0,0 +1,12 @@
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: endpoints-reader
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: endpoints-reader
|
||||
namespace: kevin # the namespace that the ServiceAccount resides in
|
||||
roleRef:
|
||||
kind: ClusterRole
|
||||
name: endpoints-reader
|
||||
apiGroup: rbac.authorization.k8s.io
|
@ -0,0 +1,5 @@
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: endpoints-reader
|
||||
namespace: kevin # the namespace to create the ServiceAccount
|
Loading…
Reference in New Issue