如何在Kubernetes集群中使用Helm安装的Artifactory上更新证书到Java Keystore
相关版本此信息属于Artifactory版本6和7
为了将证书更新到Artifactory上的Java Keystore,您需要执行以下步骤
人工版本6:
步骤1:使用需要导入Java Keystore的证书文件创建configmap
| Kubectl create configmap all-ca -from-file =ca.crt |
步骤2:在值中使用下面的configmap配置。yaml文件used for installing and upgrading Artifactory using helm
例子:
artifactory: |
请注意:您可能必须使用上面提到的preStartCommand中的keytool位置和cacerts文件位置的确切路径
步骤3:使用更新后的值执行Helm升级。yaml文件
Artifactory版本7:
步骤1:为Artifactory版本6创建一个类似于上面提到的示例的configmap
Kubectl创建configmap trusted-cert -from-file =ca.crt |
第二步:从7开始。xversion, the custom certificates that need to be imported to Java Keystore can be placed in the trusted directory available under the "JFROG_HOME美元/ artifactory / etc /安全/键/信任”
步骤3:使用下面提到的configmap配置并执行Hem升级
例子:
artifactory: |
发布日期:2021年5月15日
