We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c86b3a commit 756f6c9Copy full SHA for 756f6c9
samples/mysql-schema/k8s/deployment.yaml
@@ -45,6 +45,25 @@ spec:
45
initialDelaySeconds: 30
46
timeoutSeconds: 1
47
---
48
+apiVersion: rbac.authorization.k8s.io/v1beta1
49
+kind: ClusterRole
50
+metadata:
51
+ name: mysql-schema-operator
52
+rules:
53
+- apiGroups:
54
+ - mysql.sample.javaoperatorsdk
55
+ resources:
56
+ - schemas
57
+ verbs:
58
+ - "*"
59
60
+ - apiextensions.k8s.io
61
62
+ - customresourcedefinitions
63
64
+ - "get"
65
+ - "list"
66
+---
67
apiVersion: v1
68
kind: ServiceAccount
69
metadata:
@@ -61,5 +80,5 @@ subjects:
80
namespace: mysql-schema-operator
81
roleRef:
82
kind: ClusterRole
- name: cluster-admin
83
84
apiGroup: ""
0 commit comments