Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deploy yaml error #107

Closed
waney316 opened this issue Jul 2, 2022 · 3 comments
Closed

deploy yaml error #107

waney316 opened this issue Jul 2, 2022 · 3 comments
Labels
bug Something isn't working
Milestone

Comments

@waney316
Copy link

waney316 commented Jul 2, 2022

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

  • get configmap is forbiden
  • get resources not found

image

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

@caigy caigy added the bug Something isn't working label Jul 4, 2022
@gobbq
Copy link

gobbq commented Jul 4, 2022

@waney316 thanks for your work.

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

@waney316
Copy link
Author

waney316 commented Jul 4, 2022

@waney316 thanks for your work.

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

@gobbq
Copy link

gobbq commented Jul 4, 2022

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

caigy added a commit that referenced this issue Jul 20, 2022
@caigy caigy added this to the 0.3.0 milestone Jul 20, 2022
@caigy caigy closed this as completed Jul 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants