diff --git a/build/Dockerfile.dashboard b/build/Dockerfile.dashboard index 265950e64..1096420fc 100644 --- a/build/Dockerfile.dashboard +++ b/build/Dockerfile.dashboard @@ -1,4 +1,4 @@ -FROM node:16-alpine as builder-fe +FROM node:18-alpine as builder-fe WORKDIR /workspace COPY ./ui . ENV NODE_OPTIONS=--max_old_space_size=5120 diff --git a/charts/oceanbase-dashboard/templates/cluster-role.yaml b/charts/oceanbase-dashboard/templates/cluster-role.yaml index 219cd47c4..dc211b80e 100644 --- a/charts/oceanbase-dashboard/templates/cluster-role.yaml +++ b/charts/oceanbase-dashboard/templates/cluster-role.yaml @@ -18,6 +18,7 @@ rules: - events - secrets - namespaces + - pods/exec verbs: ["get", "list", "watch", "create", "update", "patch"] - apiGroups: - "apps"