From 0eaa9389c9d812484344f640ab3af45f09bc6530 Mon Sep 17 00:00:00 2001 From: Kent Dong Date: Tue, 15 Aug 2023 09:41:41 +0800 Subject: [PATCH] fix: Always use the latest CRDs file when deploying helm chart to OSS (#486) --- .github/workflows/deploy-to-oss.yaml | 1 + helm/core/crds/customresourcedefinitions.gen.yaml | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/deploy-to-oss.yaml b/.github/workflows/deploy-to-oss.yaml index a8e939dbc..cff8232e8 100644 --- a/.github/workflows/deploy-to-oss.yaml +++ b/.github/workflows/deploy-to-oss.yaml @@ -36,6 +36,7 @@ jobs: with: helmv3: 3.7.2 command: | + cp api/kubernetes/customresourcedefinitions.gen.yaml helm/core/crds helmv3 repo add higress.io https://higress.io/helm-charts helmv3 package helm/core --debug --app-version ${{steps.calc-version.outputs.version}} --version ${{steps.calc-version.outputs.version}} -d ./artifact helmv3 dependency build helm/higress diff --git a/helm/core/crds/customresourcedefinitions.gen.yaml b/helm/core/crds/customresourcedefinitions.gen.yaml index 616a6d4ad..023ed35f9 100644 --- a/helm/core/crds/customresourcedefinitions.gen.yaml +++ b/helm/core/crds/customresourcedefinitions.gen.yaml @@ -213,8 +213,17 @@ spec: registries: items: properties: + authSecretName: + type: string + consulDatacenter: + type: string consulNamespace: type: string + consulRefreshInterval: + format: int64 + type: integer + consulServiceTag: + type: string domain: type: string nacosAccessKey: