From 925efaa497c9ca0bd1e4cf228d34df5026e5821d Mon Sep 17 00:00:00 2001 From: xudaotutou <13435638964@163.com> Date: Thu, 26 Sep 2024 15:47:04 +0800 Subject: [PATCH] fix rc5.0.1 --- frontend/desktop/deploy/manifests/configmap.yaml.tmpl | 1 + frontend/desktop/deploy/manifests/rbac.yaml | 3 +++ frontend/providers/costcenter/deploy/Kubefile | 1 + .../providers/costcenter/deploy/manifests/configmap.yaml.tmpl | 4 ++++ 4 files changed, 9 insertions(+) diff --git a/frontend/desktop/deploy/manifests/configmap.yaml.tmpl b/frontend/desktop/deploy/manifests/configmap.yaml.tmpl index ac9e9c33a5fe..992c22cf7261 100644 --- a/frontend/desktop/deploy/manifests/configmap.yaml.tmpl +++ b/frontend/desktop/deploy/manifests/configmap.yaml.tmpl @@ -39,6 +39,7 @@ data: proxyAddress: "" callbackURL: "https://{{ .cloudDomain }}{{ if .cloudPort }}:{{ .cloudPort }}{{ end }}/callback" signUpEnabled: true + billingUrl: "http://account-service.account-system.svc:2333" baiduToken: "" invite: enabled: false diff --git a/frontend/desktop/deploy/manifests/rbac.yaml b/frontend/desktop/deploy/manifests/rbac.yaml index a42c1180a4f0..bbd86e7cea0c 100644 --- a/frontend/desktop/deploy/manifests/rbac.yaml +++ b/frontend/desktop/deploy/manifests/rbac.yaml @@ -89,6 +89,9 @@ rules: - apiGroups: ["notification.sealos.io"] resources: ["notifications"] verbs: ["list", "get", "create", "update", "patch", "watch"] + - apiGroups: [""] + resources: ["namespaces"] + verbs: ["patch"] --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding diff --git a/frontend/providers/costcenter/deploy/Kubefile b/frontend/providers/costcenter/deploy/Kubefile index 9c6af5ae51cb..139414db66a3 100644 --- a/frontend/providers/costcenter/deploy/Kubefile +++ b/frontend/providers/costcenter/deploy/Kubefile @@ -10,5 +10,6 @@ ENV cloudDomain="127.0.0.1.nip.io" ENV cloudPort="" ENV transferEnabled="true" ENV rechargeEnabled="true" +ENV jwtInternal="" CMD ["kubectl apply -f manifests"] diff --git a/frontend/providers/costcenter/deploy/manifests/configmap.yaml.tmpl b/frontend/providers/costcenter/deploy/manifests/configmap.yaml.tmpl index 8e7dba149b3e..490f2207df2d 100644 --- a/frontend/providers/costcenter/deploy/manifests/configmap.yaml.tmpl +++ b/frontend/providers/costcenter/deploy/manifests/configmap.yaml.tmpl @@ -15,6 +15,10 @@ data: costCenter: transferEnabled: true currencyType: "shellCoin" + auth: + jwt: + internal: "{{ .jwtInternal }}" + billing: "{{ .jwtInternal }}" invoice: enabled: false feiShuBotURL: ""