×

与 Red Hat Advanced Cluster Security for Kubernetes (RHACS) Helm 图表相关的命令。(Commands related to Red Hat Advanced Cluster Security for Kubernetes (RHACS) Helm Charts.)

用法 (Usage)
$ roxctl helm [command] [flags]
表 1. 可用命令 (Table 1. Available commands)
命令 (Command) 描述 (Description)

derive-local-values

从集群配置中导出本地 Helm 值。(Derive local Helm values from the cluster configuration.)

output

输出 Helm 图表。(Output a Helm chart.)

roxctl helm 命令选项继承自父命令 (roxctl helm command options inherited from the parent command)

roxctl helm 命令支持从父 roxctl 命令继承的以下选项 (The roxctl helm command supports the following options inherited from the parent roxctl command)

选项 (Option) 描述 (Description)

--ca string

指定用于安全连接的自定义 CA 证书文件路径。或者,您可以使用ROX_CA_CERT_FILE环境变量指定文件路径。(Specify a custom CA certificate file path for secure connections. Alternatively, you can specify the file path by using the ROX_CA_CERT_FILE environment variable.)

--direct-grpc

设置--direct-grpc 可提升连接性能。或者,通过将环境变量ROX_DIRECT_GRPC_CLIENT设置为true,也可以启用直接 gRPC 连接。默认值为false

-e, --endpoint string

设置要联系的服务端点。或者,您可以使用环境变量ROX_ENDPOINT设置端点。默认值为localhost:8443

--force-http1

强制所有连接使用 HTTP/1。或者,通过将环境变量ROX_CLIENT_FORCE_HTTP1设置为true,可以强制使用 HTTP/1。默认值为false

--insecure

启用不安全连接选项。或者,通过将环境变量ROX_INSECURE_CLIENT设置为true,可以启用不安全连接选项。默认值为false

--insecure-skip-tls-verify

跳过 TLS 证书验证。或者,通过将环境变量ROX_INSECURE_CLIENT_SKIP_TLS_VERIFY设置为true,可以跳过 TLS 证书验证。默认值为false

--no-color

禁用彩色输出。或者,通过将环境变量ROX_NO_COLOR设置为true,可以禁用彩色输出。默认值为false

-p, --password string

指定基本身份验证的密码。或者,您可以使用环境变量ROX_ADMIN_PASSWORD设置密码。

--plaintext

使用未加密的连接。或者,通过将环境变量ROX_PLAINTEXT设置为true,可以启用未加密的连接。默认值为false

-s, --server-name string

设置用于 SNI 的 TLS 服务器名称。或者,您可以使用环境变量ROX_SERVER_NAME设置服务器名称。

--token-file string

使用指定文件中提供的 API 令牌进行身份验证。或者,您可以使用环境变量ROX_API_TOKEN设置令牌。

这些选项适用于roxctl helm命令的所有子命令。

roxctl helm output

输出 Helm 图表。(Output a Helm chart.)

用法 (Usage)
$ roxctl helm output <central_services or secured_cluster_services> [flags] (1)
1 对于<central_services 或 secured_cluster_services>,指定中心服务或安全集群服务的路径以生成 Helm chart 输出。
表 2. 选项
选项 (Option) 描述 (Description)

--debug

从本地文件系统读取模板。默认值为false

--debug-path string

指定本地文件系统上 Helm 模板的路径。更多详情,请运行roxctl helm output --help命令。

--image-defaults string

设置默认容器镜像设置。镜像设置包括development_buildstackrox.iorhacsopensource。它会影响镜像下载的仓库、镜像名称和标签格式。默认值为development_build

--output-dir string

定义 Helm chart 输出目录的路径。默认路径为./stackrox-<chart name>-chart

--remove

如果输出目录已存在,则将其删除。默认值为false

roxctl helm derive-local-values

从集群配置中导出本地 Helm 值。(Derive local Helm values from the cluster configuration.)

用法 (Usage)
$ roxctl helm derive-local-values --output <path> \(1)
<central_services> [flags] (2)
1 对于<path>,指定要保存生成的本地值文件的路径。
2 对于<central_services>,指定中心服务配置文件的路径。
表 3. 选项
选项 (Option) 描述 (Description)

--input string

指定包含 YAML 输入的文件或目录的路径。

--output string

定义输出文件的路径。

--output-dir string

定义输出目录的路径。

--retry-timeout duration

设置 API 请求重试的超时时间。超时值表示在不重试的情况下等待整个请求持续时间。默认值为20s

-t, --timeout duration

设置 API 请求的超时时间,表示请求的最大持续时间。默认值为1m0s