HelmChart
配置 HelmChart
replaceCRDs
Helm的设计实现不支持升级或删除CRD, 当通过clusternet 创建了
HelmRelease之后,如果HelmChart更新升级,CRD资源发生了变更,可能会因CR与CRD不匹配而导致HelmRelease安装或更新失败。HelmChartspec 中的replaceCRDs选项设置为true时(默认false)时clusternet会在helm install/upgrade 之前replace helm chart及所有子chart中的crd资源以解决上述问题。当
skipCRDs为true时replaceCRDs选项不生效。
其他配置
- 如
atomic,createNamespace,disableHooks,force,replace,skipCRDs,timeoutSeconds,wait,waitForJob等均与 helm 一致,参阅helm 文档
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
最后修改 2023.06.08: add doc on feature gates (#87) (15b1ec2)