automation-suite
2023.4
false
重要 :
请注意此内容已使用机器翻译进行了部分本地化。
UiPath logo, featuring letters U and I in white
uipathctl 参考指南
Last updated 2024年11月11日

uipathctl config additional-ca-certificates update

描述

将提供路径中的其他 CA 证书附加到集群中已存在的证书。

集群中当前的其他 CA 证书将被覆盖。该命令默认为 kubeconfig 文件中的当前上下文。如果设置了 --kubeconfig 标志,则它将使用标志指定的 kubeconfig 文件。
uipathctl config additional-ca-certificates update [flags]uipathctl config additional-ca-certificates update [flags]

示例

# Append to the existing additional ca certificates from the cluster
        uipathctl config additional-ca-certificates update --cacert additional_ca.crt
        
        # Overwrite the current additional ca certificates from the cluster
        uipathctl config additional-ca-certificates update --cacert additional_ca.crt --replace

        # Append to the existing additional ca certificates from the cluster identified by the current context in the kubeconfig file
        uipathctl config additional-ca-certificates update --cacert additional_ca.crt --kubeconfig cluster.kubeconfig
        # Append to the existing additional ca certificates from the cluster
        uipathctl config additional-ca-certificates update --cacert additional_ca.crt
        
        # Overwrite the current additional ca certificates from the cluster
        uipathctl config additional-ca-certificates update --cacert additional_ca.crt --replace

        # Append to the existing additional ca certificates from the cluster identified by the current context in the kubeconfig file
        uipathctl config additional-ca-certificates update --cacert additional_ca.crt --kubeconfig cluster.kubeconfig

选项

--cacert string   path to additional ca certificates
  -h, --help            help for update-additional-ca-certificates
  -r, --replace         if true, the existing additional ca certificates are overwritten--cacert string   path to additional ca certificates
  -h, --help            help for update-additional-ca-certificates
  -r, --replace         if true, the existing additional ca certificates are overwritten

从父命令继承的选项

--context string      name of the kubeconfig context to use
--kubeconfig string   kubectl configuration file (default: ~/.kube/config)
--log-format string   log format. one of [text,json] (default "text")
--log-level string    set log level. one of [trace,debug,info,error] (default "error")
--timeout duration    timeout of the command (default 1h0m0s)--context string      name of the kubeconfig context to use
--kubeconfig string   kubectl configuration file (default: ~/.kube/config)
--log-format string   log format. one of [text,json] (default "text")
--log-level string    set log level. one of [trace,debug,info,error] (default "error")
--timeout duration    timeout of the command (default 1h0m0s)
  • 描述
  • 示例
  • 选项
  • 从父命令继承的选项

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo White
信任与安全
© 2005-2024 UiPath。保留所有权利。