hm4: own hosting operator CRDs and RBAC
This commit is contained in:
26
apps-gx10/fc-system/clusterrolebinding-mysql-operator.json
Normal file
26
apps-gx10/fc-system/clusterrolebinding-mysql-operator.json
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"apiVersion": "rbac.authorization.k8s.io/v1",
|
||||
"kind": "ClusterRoleBinding",
|
||||
"metadata": {
|
||||
"name": "mysql-operator",
|
||||
"labels": {
|
||||
"app.kubernetes.io/name": "mysql-operator",
|
||||
"app.kubernetes.io/instance": "mysql-operator",
|
||||
"app.kubernetes.io/managed-by": "flowercore",
|
||||
"app.kubernetes.io/component": "operator",
|
||||
"app.kubernetes.io/part-of": "flowercore-mysql"
|
||||
}
|
||||
},
|
||||
"roleRef": {
|
||||
"apiGroup": "rbac.authorization.k8s.io",
|
||||
"kind": "ClusterRole",
|
||||
"name": "mysql-operator"
|
||||
},
|
||||
"subjects": [
|
||||
{
|
||||
"kind": "ServiceAccount",
|
||||
"name": "mysql-operator",
|
||||
"namespace": "fc-system"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user