feiyuyitiao opened a new issue, #117:
URL: https://github.com/apache/rocketmq-operator/issues/117

   after deploy, view k8s sts  broker-0-master or broker-0-replica-1, it miss  
" volumeClaimTemplates (name: namesrv-storage" or "storageClassName: 
rocketmq-storage") which defined in template file 
rocketmq_v1alpha1_rocketmq_cluster.yaml.
   
![image](https://user-images.githubusercontent.com/5387559/180177141-99abdc1c-23d5-474a-b2df-e0c3aa7ad4a1.png)
   
   **temp fix by:**
   pkg/controller/nameservice/nameservice_controller.go:257 , method: 
getVolumeClaimTemplates()
   ......
                templates := nameService.Spec.VolumeClaimTemplates 
                templates[0].ObjectMeta.Name = "namesrv-storage" 
                return templates
   .......
   pkg/controller/broker/broker_controller.go:507 , method: 
getVolumeClaimTemplates()
   .....
                templates := broker.Spec.VolumeClaimTemplates 
                templates[0].ObjectMeta.Name = "broker-storage" 
                return templates
   .....


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to