Skip to content

Commit e0aa37e

Browse files
committed
feat(helm): add configuration for control frontend install
1 parent a83e118 commit e0aa37e

File tree

4 files changed

+117
-98
lines changed

4 files changed

+117
-98
lines changed

deploy/frontend-dist/index.js

Lines changed: 98 additions & 98 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deploy/helm/fluid/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ The Fluid plugin is a KubeSphere extension based on Fluid, providing a visual in
1818
- After installation is complete, click the Next button to enter the cluster selection page. Select the clusters to install, click Next, and proceed to the Differential Configuration page.
1919
- Update the differential configuration as needed. After updating, start the installation and wait for it to complete.
2020

21+
### Configuration
22+
23+
Click on the extension component configuration, and control whether to install the frontend by setting enabled.
24+
```yaml
25+
frontend:
26+
enabled: true
27+
```
28+
2129
### Contact and Support
2230
2331
If you have any questions or suggestions, feel free to submit an issue or participate in community discussions.

deploy/helm/fluid/README_zh.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ Fluid插件则是基于Fluid的kubesphere扩展插件,提供数据集管理、
1818
- 安装完成后,点击 下一步 按钮,进入集群选择页面,勾选需要安装的集群,点击 下一步 按钮,进入 差异化配置 页面;
1919
- 根据需求更新 差异化配置,更新完成,开始安装,静待安装完成。
2020

21+
### 配置
22+
23+
点击扩展组件配置,通过设置enabled来控制是否安装前端
24+
```yaml
25+
frontend:
26+
enabled: true
27+
```
28+
2129
### 联系与支持
2230
2331
如有问题或建议,欢迎通过 Issue 反馈或参与社区讨论。

deploy/helm/fluid/charts/frontend/templates/jsbundle.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{{- if .Values.enabled }}
12
apiVersion: extensions.kubesphere.io/v1alpha1
23
kind: JSBundle
34
metadata:
@@ -10,3 +11,5 @@ spec:
1011
# status:
1112
# link: /dist/fluid-ext/index.js
1213
# state: Available
14+
{{- end }}
15+

0 commit comments

Comments
 (0)