-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathkustomization.yaml
More file actions
60 lines (49 loc) · 2 KB
/
Copy pathkustomization.yaml
File metadata and controls
60 lines (49 loc) · 2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#kubectl kustomize infra-deployments/wrenai/kustomizations --enable-helm > infra-deployments/wrenai/kustomizations/wrenai.kustimized.yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: ai-system
### Overwride with causion
#images:
# - name: ghcr.io/canner/wren-bootstrap
# newTag: 0.1.5 # Update to new version
- name: ghcr.io/canner/wren-engine
newTag: 0.13.2 # Update to new version 0.13.2
- name: ghcr.io/canner/wren-ui
newTag: 0.19.2 # Update to new version. Mimumal version is 0.6.0 to use postgress for wren-ui, if you are using older version, you may use only sqlite, please adjust ConfigMap (deployment/kustomizations/base/cm.yaml), Secret (deployment/kustomizations/examples/secret-wren_example.yaml) and the deployment/kustomizations/base/deploy-wren-ui.yaml manifests.
- name: ghcr.io/canner/wren-ai-service
newTag: 0.14.6 # Update to new version 0.14.6
- name: ghcr.io/canner/wren-engine-ibis
newTag: 0.13.1 # Update to new version 0.13.1
resources:
- "https://github.com/Canner/WrenAI.git/deployment/kustomizations?ref=0.14.0"
#- "https://github.com/Canner/WrenAI.git/deployment/kustomizations?ref=0.5.1"
### Best practice is to create and deploy Secrets manually, not as part of kustomization or GitOps!
- examples/secret-wren_example.yaml
- examples/ingress-wren.yaml
- examples/certificate-wren.yaml
### Additional customizations here
patches:
### for DualStack IP k8s cluster
#- path: patches/service.yaml
# target:
# kind: Service
## name: wren-ai-service
### removes the Ingress from the original repo
- path: patches/rm-ingress.yaml
target:
kind: Ingress
name: wren-ui-ingress
### removes the Certificate from the original repo
- path: patches/rm-certificate.yaml
target:
kind: Certificate
name: wren-ui.myhost.net
### Patches values from the original repo in ConfigMap
- path: patches/rm-cm.yaml
target:
kind: ConfigMap
name: wren-ai-service-config
- path: patches/cm.yaml
target:
kind: ConfigMap
name: wren-config