姓名
kf configure-space set-build-service-account
- 设置在构建容器时使用的服务帐号
摘要
kf configure-space set-build-service-account [SPACE_NAME] SERVICE_ACCOUNT [flags]
示例
# Configure the Space "my-space" kf configure-space set-build-service-account my-space myserviceaccount # Configure the targeted Space kf configure-space set-build-service-account myserviceaccount
标志
--async
- 返回之前,请勿等待服务器上的操作完成
-h, --help
- 有关 set-build-service-account 的帮助
继承的标志
这些标志继承自父命令。
--config=string
- 配置文件(默认为 $HOME/.kf)
--kubeconfig=string
- Kubectl 配置文件(默认为 $HOME/.kube/config)
--log-http
- 将 HTTP 请求记录到 stderr
--space=string
- 用于对其运行命令的空间。这会覆盖当前目标空间