故障记录-secret更新时报错

时间:2021-08-24 20:44:13   收藏:0   阅读:19
error: exactly one NAME is required, got 3
See ‘kubectl create secret generic -h‘ for help and examples

原因是[--from-literal=bus_datasource_username =‘bus‘]在等号前面有空格。

参考地址:

https://stackoverflow.com/questions/51251688/create-gcr-secret-error-exactly-one-name-is-required-got-26

原文:https://www.cnblogs.com/xhg-Cathy/p/15181643.html

评论(0)
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!