简体   繁体   English

将证书管理器从 0.12 升级到 1.11

[英]Ugrading cert-manager from 0.12 to 1.11

I have k8s cluster with version 1.21 and cert-manager (v0.12) which was installed via helm.我有 1.21 版的 k8s 集群和通过 helm 安装的 cert-manager (v0.12)。 As far as I understand I should upgrade cert-manager version-by-version but I can't find CRDs file for version 0.13 ( https://github.com/cert-manager/cert-manager/releases/download/v0.13/cert-manager.crds.yaml - there is no such file. CRDs were installed separately from cert-manager).据我所知,我应该逐个版本地升级 cert-manager,但我找不到版本 0.13 的 CRD 文件( https://github.com/cert-manager/cert-manager/releases/download/v0. 13/cert-manager.crds.yaml - 没有这样的文件。CRD 是与 cert-manager 分开安装的)。 So, guys, help me!所以,伙计们,帮帮我!

I can get a file from this URL ;我可以从这个URL得到一个文件; please test it and let me know how it works.请测试它,让我知道它是如何工作的。 When upgrading from earlier versions, use this file, which contains all of the Custom Resource Definitions (CRDs) for cert-manager 0.13.从早期版本升级时,请使用此文件,其中包含 cert-manager 0.13 的所有自定义资源定义 (CRD)。

You can upgrade using static manifests also by running the below command:您还可以通过运行以下命令使用 static 清单进行升级:

kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/<version>/cert-manager.yaml

You can find more information in this doc .您可以在此文档中找到更多信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM