diff --git a/operator/scripts/update_helm_chart.py b/operator/scripts/update_helm_chart.py index b3f820dc1e..54b16feed9 100644 --- a/operator/scripts/update_helm_chart.py +++ b/operator/scripts/update_helm_chart.py @@ -333,8 +333,8 @@ def wrap_multiline_str(space_num: int, m_string: str) -> str: # 为 Helm Charts 中的 CRD 统一添加删除保护注解 "bkapp-crd.yaml": [ ( - "controller-gen.kubebuilder.io/version: v0.9.0", - "controller-gen.kubebuilder.io/version: v0.9.0\n helm.sh/resource-policy: keep", + "controller-gen.kubebuilder.io/version: v0.14.0", + "controller-gen.kubebuilder.io/version: v0.14.0\n helm.sh/resource-policy: keep", ), ( wrap_multiline_str( @@ -372,14 +372,14 @@ def wrap_multiline_str(space_num: int, m_string: str) -> str: ], "domaingroupmapping-crd.yaml": [ ( - "controller-gen.kubebuilder.io/version: v0.9.0", - "controller-gen.kubebuilder.io/version: v0.9.0\n helm.sh/resource-policy: keep", + "controller-gen.kubebuilder.io/version: v0.14.0", + "controller-gen.kubebuilder.io/version: v0.14.0\n helm.sh/resource-policy: keep", ) ], "projectconfig-crd.yaml": [ ( - "controller-gen.kubebuilder.io/version: v0.9.0", - "controller-gen.kubebuilder.io/version: v0.9.0\n helm.sh/resource-policy: keep", + "controller-gen.kubebuilder.io/version: v0.14.0", + "controller-gen.kubebuilder.io/version: v0.14.0\n helm.sh/resource-policy: keep", ) ], }