kf configure-space set-build-egress-policy

姓名

kf configure-space set-build-egress-policy - 为空间中的构建设置出站流量政策。

摘要

kf configure-space set-build-egress-policy [SPACE_NAME] POLICY [flags]

示例

# Configure the Space "my-space"
kf configure-space set-build-egress-policy my-space DenyAll
# Configure the targeted Space
kf configure-space set-build-egress-policy DenyAll

标志

--async

返回之前,请勿等待服务器上的操作完成。

-h, --help

有关 set-build-egress-policy 的帮助

继承的标志

这些标志继承自父命令。

--as=string

操作要模拟的用户名。

--as-group=strings

操作要模拟的群组。多次添加此标志可指定多个群组。

--config=string

用于 CLI 请求的 Kf 配置文件的路径。

--kubeconfig=string

用于 CLI 请求的 kubeconfig 文件的路径。

--log-http

将 HTTP 请求记录到标准错误。

--space=string

用于对其运行命令的空间。此标志会替换当前所针对的空间。