windson opened a new issue, #183:
URL: https://github.com/apache/shardingsphere-on-cloud/issues/183

   ### Environment
   
   
   
   
   
   
   
   
   I am using 
https://github.com/apache/shardingsphere-on-cloud/tree/main/charts/apache-shardingsphere-proxy-charts
   
   - Contents of your values.yaml file,if your helm deployment process goes 
wrong.
   
   No changes in values.yaml. Just overriding them via helm `--set` as 
mentioned below.
   
   When I try the following, I see the error `zsh: no matches found: 
compute.serverConfig.authority.users[0].user=root`
   
   ```
   helm upgrade --install hello-pp-chart 
shardingsphere/apache-shardingsphere-proxy-charts --version 0.1.0 --set 
compute.serverConfig.authority.users[0].user=root --set 
compute.serverConfig.authority.users[0].password=root
   ```
   
   Alternatively, when I try the following, I see a warning `coalesce.go:223: 
warning: destination for 
apache-shardingsphere-proxy-charts.compute.serverConfig.authority.users is a 
table. Ignoring non-table value ([map[password:root user:root@%]])
   coalesce.go:223: warning: destination for 
apache-shardingsphere-proxy-charts.compute.serverConfig.authority.users is a 
table. Ignoring non-table value ([map[password:root user:root@%]])
   Release "hello-pp-chart" has been upgraded. Happy Helming!`
   
   ```
   helm upgrade --install hello-pp-chart 
shardingsphere/apache-shardingsphere-proxy-charts --version 0.1.0 --set 
compute.serverConfig.authority.users.user=root --set 
compute.serverConfig.authority.users.password=root
   ```
   
   - Contents of your CRD resource file. Include 
proxy.shardingsphere.apache.org/v1alpha1 and 
proxyconfig.shardingsphere.apache.org/v1alpha1
   
   - Kubernetes distro (e.g. RKE/K3s/EKS/OpenShift) and version
   
   
   ### Issue description
   
   - Which phase is not functioning properly, is it the installation phase or 
the apply CRD phase ?
   Not able to set user and password for serverConfig in ShardingSphere-Proxy. 
I am using 
https://github.com/apache/shardingsphere-on-cloud/tree/main/charts/apache-shardingsphere-proxy-charts
   
   
   ### Error log
   
   - Including ShardingSphere-Proxy error log and ShardingSphere-Operator error 
log
   zsh: no matches found: compute.serverConfig.authority.users[0].user=root
   
   ### Expected result
   
   Shoud pick up user and password for serverConfig when `--set` via helm 
install or upgrade.


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