Skip to content

Commit

Permalink
fix: update helm chart script (#1659)
Browse files Browse the repository at this point in the history
  • Loading branch information
narasux authored Oct 15, 2024
1 parent 82e0e5a commit a6472ce
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions operator/scripts/update_helm_chart.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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",
)
],
}
Expand Down

0 comments on commit a6472ce

Please sign in to comment.