[英]Rancher Cluster `cloud_provider` YAML: How to use Active Directory Domain Credentials (i.e. user name with back slash) in YAML?
I'm attempting to put my AD domain credentials into the YAML config file created by rancher so that I may use vSphere storage within Rancher / Kubernetes, however, I'm running into an issue with the formatting of the virtual_center
config portion: 我试图将我的AD域凭据放入rancher创建的YAML配置文件中,以便可以在Rancher / Kubernetes中使用vSphere存储,但是,我遇到了
virtual_center
config部分格式问题:
(...)
virtual_center:
<IP>:
(...)
user: "DOMAIN/username"
password: <PASSWORD>
The cluster doesn't seem to like a backslash (or two backslashes including the escape character), and it also doesn't seem to like a forward slash. 群集似乎不喜欢反斜杠(或两个反斜杠,包括转义符),也似乎不喜欢正斜杠。
How should I enter my domain credentials in here? 我应该如何在这里输入域凭据?
EDIT 编辑
nvm, i figured it out. NVM,我明白了。
JK, answer below. JK,请在下面回答。
Apparently the solution is to use a user@domain.site.local
format rather than a DOMAIN\\user\u003c/code> format.
显然,解决方案是使用
user@domain.site.local
格式,而不是DOMAIN\\user\u003c/code>格式。
See: https://github.com/rancher/rancher/issues/16371
参见: https : //github.com/rancher/rancher/issues/16371
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.