From 3037fafe450c7dc10e95e884c878d1ca8a82b24c Mon Sep 17 00:00:00 2001 From: rohow Date: Fri, 18 Jul 2025 14:52:26 +0800 Subject: [PATCH] feat(chart): update version to 0.0.5 and add annotations to PVC --- apps/apps/dify/helmchart.yaml | 74 ------------------------------ apps/apps/dify/ingress-static.yaml | 31 ------------- apps/apps/dify/ingress-web.yaml | 48 ------------------- apps/apps/rustdesk/helmchart.yaml | 2 +- 4 files changed, 1 insertion(+), 154 deletions(-) delete mode 100644 apps/apps/dify/helmchart.yaml delete mode 100644 apps/apps/dify/ingress-static.yaml delete mode 100644 apps/apps/dify/ingress-web.yaml diff --git a/apps/apps/dify/helmchart.yaml b/apps/apps/dify/helmchart.yaml deleted file mode 100644 index 89fd04e..0000000 --- a/apps/apps/dify/helmchart.yaml +++ /dev/null @@ -1,74 +0,0 @@ -apiVersion: helm.cattle.io/v1 -kind: HelmChart -metadata: - name: dify - namespace: apps -spec: - repo: https://borispolonsky.github.io/dify-helm - chart: dify - targetNamespace: apps - version: 0.25.0 - valuesContent: |- - nodeSelector: - kubernetes.io/hostname: clawhka - image: - api: - tag: "1.5.0" - worker: - tag: "1.5.0" - web: - tag: "1.5.0" - sandbox: - tag: "0.2.12" - pluginDaemon: - tag: "0.1.2-local" - api: - persistence: - persistentVolumeClaim: - storageClass: local-path - accessModes: ReadWriteOnce - size: 5Gi - extraEnv: - - name: LANG - value: "C.UTF-8" - - name: UPLOAD_FILE_SIZE_LIMIT - value: "1024" - - name: UPLOAD_FILE_BATCH_LIMIT - value: "10" - pluginDaemon: - persistence: - persistentVolumeClaim: - storageClass: local-path - accessModes: ReadWriteOnce - size: 5Gi - proxy: - enabled: false - postgresql: - enabled: false - redis: - enabled: false - weaviate: - enabled: false - externalPostgres: - enabled: true - username: app - password: QrmOnigueiiKWDxS5HqS8h765fUZoV1fj2WFkHpqZOPnKAGcM9paiXC1VzGUA3PD - address: cnpg17-cluster-hk-rw.infra-data - port: 5432 - database: - api: dify - pluginDaemon: dify_plugin - externalRedis: - enabled: true - host: redis-cluster-hk-master.infra-data - port: 6379 - username: "" - password: ribiPwYQNU6GWxCYR0Nj - useSSL: false - externalPgvector: - enabled: true - username: app - password: QrmOnigueiiKWDxS5HqS8h765fUZoV1fj2WFkHpqZOPnKAGcM9paiXC1VzGUA3PD - address: cnpg17-cluster-hk-rw.infra-data - port: 5432 - dbName: dify diff --git a/apps/apps/dify/ingress-static.yaml b/apps/apps/dify/ingress-static.yaml deleted file mode 100644 index aeffc4e..0000000 --- a/apps/apps/dify/ingress-static.yaml +++ /dev/null @@ -1,31 +0,0 @@ -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: dify-static - namespace: apps - annotations: - nginx.ingress.kubernetes.io/use-regex: "true" - nginx.ingress.kubernetes.io/proxy-buffering: "on" - nginx.ingress.kubernetes.io/configuration-snippet: | - proxy_cache cache; - proxy_cache_valid 200 302 7d; - proxy_cache_valid 404 10m; - proxy_cache_valid any 1h; - proxy_cache_use_stale error timeout updating http_404 http_500 http_502 http_503 http_504; - proxy_cache_bypass $http_x_purge; - proxy_ignore_headers Cache-Control; - add_header X-Cache-Status $upstream_cache_status; -spec: - ingressClassName: nginx - rules: - - host: dify.dev.cm - http: - paths: - - path: /(.*\.(css|js|png|jpg|jpeg|gif|svg|webp|ico|woff|woff2|ttf|eot)|avatars/[^/]+)$ - pathType: ImplementationSpecific - backend: - service: - name: dify-web - port: - number: 3000 - diff --git a/apps/apps/dify/ingress-web.yaml b/apps/apps/dify/ingress-web.yaml deleted file mode 100644 index 689f137..0000000 --- a/apps/apps/dify/ingress-web.yaml +++ /dev/null @@ -1,48 +0,0 @@ -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: dify-web - namespace: apps -spec: - ingressClassName: nginx - rules: - - host: dify.dev.cm - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - service: - name: dify-web - port: - number: 3000 - ---- -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: dify-api - namespace: apps - annotations: - nginx.ingress.kubernetes.io/use-regex: "true" - nginx.ingress.kubernetes.io/proxy-body-size: "1024m" -spec: - ingressClassName: nginx - rules: - - host: dify.dev.cm - http: - paths: - - path: /(api|console/api|v1|files) - pathType: ImplementationSpecific - backend: - service: - name: dify-api - port: - number: 5001 - - path: /e/ - pathType: ImplementationSpecific - backend: - service: - name: dify-plugin-daemon - port: - number: 5002 diff --git a/apps/apps/rustdesk/helmchart.yaml b/apps/apps/rustdesk/helmchart.yaml index 966a19c..b7934ee 100644 --- a/apps/apps/rustdesk/helmchart.yaml +++ b/apps/apps/rustdesk/helmchart.yaml @@ -7,7 +7,7 @@ spec: repo: https://devcm-repo.github.io/helm-charts chart: rustdesk-server targetNamespace: apps - version: 0.0.3 + version: 0.0.5 valuesContent: |- nodeSelector: kubernetes.io/hostname: tcd