From e983c938f7aca8691fb2cb61d3e592c49685a986 Mon Sep 17 00:00:00 2001 From: zhangxinhui02 Date: Fri, 31 Oct 2025 10:42:45 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E8=B0=83=E6=95=B4helm=20chart?= =?UTF-8?q?=E7=9B=AE=E5=BD=95=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- helm-chart/.gitignore | 1 + helm-chart/templates/{adapter-pvc.yaml => adapter/pvc.yaml} | 0 .../templates/{adapter-service.yaml => adapter/service.yaml} | 0 .../{adapter-statefulset.yaml => adapter/statefulset.yaml} | 0 .../templates/{core-configmap.yaml => core/configmap.yaml} | 0 helm-chart/templates/{core-pvc.yaml => core/pvc.yaml} | 0 helm-chart/templates/{core-service.yaml => core/service.yaml} | 0 .../templates/{core-statefulset.yaml => core/statefulset.yaml} | 0 .../job-gen-adapter-cm.yaml} | 0 .../rbac-gen-adapter-cm.yaml} | 0 .../templates/{napcat-ingress.yaml => napcat/ingress.yaml} | 0 helm-chart/templates/{napcat-pvc.yaml => napcat/pvc.yaml} | 0 .../templates/{napcat-service.yaml => napcat/service.yaml} | 0 .../{napcat-statefulset.yaml => napcat/statefulset.yaml} | 0 .../templates/{pre-check.yaml => other/check-eula-privacy.yaml} | 0 .../{scripts-configmap.yaml => other/configmap-scripts.yaml} | 0 .../{sqlite-web-ingress.yaml => sqlite-web/ingress.yaml} | 0 .../{sqlite-web-service.yaml => sqlite-web/service.yaml} | 0 .../{sqlite-web-statefulset.yaml => sqlite-web/statefulset.yaml} | 0 .../{statistics-deployment.yaml => statistics/deployment.yaml} | 0 .../{statistics-ingress.yaml => statistics/ingress.yaml} | 0 .../templates/{statistics-pvc.yaml => statistics/pvc.yaml} | 0 .../{statistics-service.yaml => statistics/service.yaml} | 0 23 files changed, 1 insertion(+) create mode 100644 helm-chart/.gitignore rename helm-chart/templates/{adapter-pvc.yaml => adapter/pvc.yaml} (100%) rename helm-chart/templates/{adapter-service.yaml => adapter/service.yaml} (100%) rename helm-chart/templates/{adapter-statefulset.yaml => adapter/statefulset.yaml} (100%) rename helm-chart/templates/{core-configmap.yaml => core/configmap.yaml} (100%) rename helm-chart/templates/{core-pvc.yaml => core/pvc.yaml} (100%) rename helm-chart/templates/{core-service.yaml => core/service.yaml} (100%) rename helm-chart/templates/{core-statefulset.yaml => core/statefulset.yaml} (100%) rename helm-chart/templates/{pre-adapter-cm-gen-job.yaml => job-post-install/job-gen-adapter-cm.yaml} (100%) rename helm-chart/templates/{pre-adapter-cm-gen-rbac.yaml => job-post-install/rbac-gen-adapter-cm.yaml} (100%) rename helm-chart/templates/{napcat-ingress.yaml => napcat/ingress.yaml} (100%) rename helm-chart/templates/{napcat-pvc.yaml => napcat/pvc.yaml} (100%) rename helm-chart/templates/{napcat-service.yaml => napcat/service.yaml} (100%) rename helm-chart/templates/{napcat-statefulset.yaml => napcat/statefulset.yaml} (100%) rename helm-chart/templates/{pre-check.yaml => other/check-eula-privacy.yaml} (100%) rename helm-chart/templates/{scripts-configmap.yaml => other/configmap-scripts.yaml} (100%) rename helm-chart/templates/{sqlite-web-ingress.yaml => sqlite-web/ingress.yaml} (100%) rename helm-chart/templates/{sqlite-web-service.yaml => sqlite-web/service.yaml} (100%) rename helm-chart/templates/{sqlite-web-statefulset.yaml => sqlite-web/statefulset.yaml} (100%) rename helm-chart/templates/{statistics-deployment.yaml => statistics/deployment.yaml} (100%) rename helm-chart/templates/{statistics-ingress.yaml => statistics/ingress.yaml} (100%) rename helm-chart/templates/{statistics-pvc.yaml => statistics/pvc.yaml} (100%) rename helm-chart/templates/{statistics-service.yaml => statistics/service.yaml} (100%) diff --git a/helm-chart/.gitignore b/helm-chart/.gitignore new file mode 100644 index 00000000..b5ec6e00 --- /dev/null +++ b/helm-chart/.gitignore @@ -0,0 +1 @@ +!napcat diff --git a/helm-chart/templates/adapter-pvc.yaml b/helm-chart/templates/adapter/pvc.yaml similarity index 100% rename from helm-chart/templates/adapter-pvc.yaml rename to helm-chart/templates/adapter/pvc.yaml diff --git a/helm-chart/templates/adapter-service.yaml b/helm-chart/templates/adapter/service.yaml similarity index 100% rename from helm-chart/templates/adapter-service.yaml rename to helm-chart/templates/adapter/service.yaml diff --git a/helm-chart/templates/adapter-statefulset.yaml b/helm-chart/templates/adapter/statefulset.yaml similarity index 100% rename from helm-chart/templates/adapter-statefulset.yaml rename to helm-chart/templates/adapter/statefulset.yaml diff --git a/helm-chart/templates/core-configmap.yaml b/helm-chart/templates/core/configmap.yaml similarity index 100% rename from helm-chart/templates/core-configmap.yaml rename to helm-chart/templates/core/configmap.yaml diff --git a/helm-chart/templates/core-pvc.yaml b/helm-chart/templates/core/pvc.yaml similarity index 100% rename from helm-chart/templates/core-pvc.yaml rename to helm-chart/templates/core/pvc.yaml diff --git a/helm-chart/templates/core-service.yaml b/helm-chart/templates/core/service.yaml similarity index 100% rename from helm-chart/templates/core-service.yaml rename to helm-chart/templates/core/service.yaml diff --git a/helm-chart/templates/core-statefulset.yaml b/helm-chart/templates/core/statefulset.yaml similarity index 100% rename from helm-chart/templates/core-statefulset.yaml rename to helm-chart/templates/core/statefulset.yaml diff --git a/helm-chart/templates/pre-adapter-cm-gen-job.yaml b/helm-chart/templates/job-post-install/job-gen-adapter-cm.yaml similarity index 100% rename from helm-chart/templates/pre-adapter-cm-gen-job.yaml rename to helm-chart/templates/job-post-install/job-gen-adapter-cm.yaml diff --git a/helm-chart/templates/pre-adapter-cm-gen-rbac.yaml b/helm-chart/templates/job-post-install/rbac-gen-adapter-cm.yaml similarity index 100% rename from helm-chart/templates/pre-adapter-cm-gen-rbac.yaml rename to helm-chart/templates/job-post-install/rbac-gen-adapter-cm.yaml diff --git a/helm-chart/templates/napcat-ingress.yaml b/helm-chart/templates/napcat/ingress.yaml similarity index 100% rename from helm-chart/templates/napcat-ingress.yaml rename to helm-chart/templates/napcat/ingress.yaml diff --git a/helm-chart/templates/napcat-pvc.yaml b/helm-chart/templates/napcat/pvc.yaml similarity index 100% rename from helm-chart/templates/napcat-pvc.yaml rename to helm-chart/templates/napcat/pvc.yaml diff --git a/helm-chart/templates/napcat-service.yaml b/helm-chart/templates/napcat/service.yaml similarity index 100% rename from helm-chart/templates/napcat-service.yaml rename to helm-chart/templates/napcat/service.yaml diff --git a/helm-chart/templates/napcat-statefulset.yaml b/helm-chart/templates/napcat/statefulset.yaml similarity index 100% rename from helm-chart/templates/napcat-statefulset.yaml rename to helm-chart/templates/napcat/statefulset.yaml diff --git a/helm-chart/templates/pre-check.yaml b/helm-chart/templates/other/check-eula-privacy.yaml similarity index 100% rename from helm-chart/templates/pre-check.yaml rename to helm-chart/templates/other/check-eula-privacy.yaml diff --git a/helm-chart/templates/scripts-configmap.yaml b/helm-chart/templates/other/configmap-scripts.yaml similarity index 100% rename from helm-chart/templates/scripts-configmap.yaml rename to helm-chart/templates/other/configmap-scripts.yaml diff --git a/helm-chart/templates/sqlite-web-ingress.yaml b/helm-chart/templates/sqlite-web/ingress.yaml similarity index 100% rename from helm-chart/templates/sqlite-web-ingress.yaml rename to helm-chart/templates/sqlite-web/ingress.yaml diff --git a/helm-chart/templates/sqlite-web-service.yaml b/helm-chart/templates/sqlite-web/service.yaml similarity index 100% rename from helm-chart/templates/sqlite-web-service.yaml rename to helm-chart/templates/sqlite-web/service.yaml diff --git a/helm-chart/templates/sqlite-web-statefulset.yaml b/helm-chart/templates/sqlite-web/statefulset.yaml similarity index 100% rename from helm-chart/templates/sqlite-web-statefulset.yaml rename to helm-chart/templates/sqlite-web/statefulset.yaml diff --git a/helm-chart/templates/statistics-deployment.yaml b/helm-chart/templates/statistics/deployment.yaml similarity index 100% rename from helm-chart/templates/statistics-deployment.yaml rename to helm-chart/templates/statistics/deployment.yaml diff --git a/helm-chart/templates/statistics-ingress.yaml b/helm-chart/templates/statistics/ingress.yaml similarity index 100% rename from helm-chart/templates/statistics-ingress.yaml rename to helm-chart/templates/statistics/ingress.yaml diff --git a/helm-chart/templates/statistics-pvc.yaml b/helm-chart/templates/statistics/pvc.yaml similarity index 100% rename from helm-chart/templates/statistics-pvc.yaml rename to helm-chart/templates/statistics/pvc.yaml diff --git a/helm-chart/templates/statistics-service.yaml b/helm-chart/templates/statistics/service.yaml similarity index 100% rename from helm-chart/templates/statistics-service.yaml rename to helm-chart/templates/statistics/service.yaml