feat(chart): update version to 0.0.5 and add annotations to PVC
这个提交包含在:
@@ -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
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
|
||||
在新议题中引用
屏蔽一个用户