apache / rocketmq-operator

Apache RocketMQ Operator
https://rocketmq.apache.org/
Apache License 2.0
310 stars 126 forks source link

deploy yaml error #107

Closed waney316 closed 2 years ago

waney316 commented 2 years ago

p1:role.yaml and role_binding.yaml name properties do not match,ClusterRoleBinding namespace should not specify default

---
# role.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  creationTimestamp: null
  name: manager-role    # not match
# role_binding.yaml 
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: rocketmq-operator
subjects:
- kind: ServiceAccount
  name: rocketmq-operator
  namespace: default  
roleRef:
  kind: ClusterRole
  name: rocketmq-operator   # not match
  apiGroup: rbac.authorization.k8s.io

p2:manager running error,role.yaml missing some permissions defined

image

p3:use lastest code create crd to cluster,api-resources and role.yaml do not match image image

gobbq commented 2 years ago

@waney316 thanks for your work.

I don't find that the operator needs the configmap permission, could you confirm it again?

waney316 commented 2 years ago

@waney316 thanks for your work.

I don't find that the operator needs the configmap permission, could you confirm it again? @gobbq image

gobbq commented 2 years ago

@waney316 thanks for your work. I don't find that the operator needs the configmap permission, could you confirm it again? @gobbq image

@waney316 Oh, I see. Thanks.