refactor for better error reporting on sql error (#1016)

* refactor for better error reporting on sql error

* fix errors

* add docs
This commit is contained in:
Kevin Wan
2021-09-09 15:43:33 +08:00
committed by GitHub
parent f6d9e19ecb
commit f070d447ef
5 changed files with 43 additions and 14 deletions

View File

@@ -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