You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(helm): Medcat trainer helm chart to support preset auth for postgres (#36)
* fix(helm): Set postgres user/pass in value to fix restart issue
* fix(helm): Set Trainer ingress service to nginx
* feat(helm): Make medcat-service ingress support the standard template pattern
Copy file name to clipboardExpand all lines: deployment/kubernetes/charts/medcat-trainer-helm/values.yaml
+9-16Lines changed: 9 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -4,13 +4,12 @@
4
4
5
5
# This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/
6
6
replicaCount: 1
7
-
nginxReplicaCount: 1
8
7
9
8
# This sets the container image more information can be found here: https://kubernetes.io/docs/concepts/containers/images/
10
9
image:
11
10
repository: cogstacksystems/medcat-trainer
12
11
# This sets the pull policy for images.
13
-
pullPolicy: Always
12
+
pullPolicy: IfNotPresent
14
13
# Overrides the image tag whose default is the chart appVersion.
15
14
tag: "latest"
16
15
nginxImage:
@@ -38,20 +37,15 @@ env:
38
37
# TODO: Support custom DB overrides#
39
38
# DB_ENGINE: "sqlite3"
40
39
DB_ENGINE: "postgresql"
41
-
DB_NAME: "postgres"
42
-
DB_USER: "postgres"
43
40
DB_PORT: "5432"
44
-
# DB_PASSWORD: ""
45
-
# DB_HOST: ""
46
41
47
42
postgresql:
48
43
enabled: true
49
44
# TODO: Support custom DB overrides
50
-
# auth:
51
-
# - name for a custom database
52
-
# database: "my_trainer_db"
53
-
# username: "trainer_admin"
54
-
# password: "changeme_changeme"
45
+
auth:
46
+
database: "postgres"
47
+
username: "postgres"
48
+
password: "postgres"
55
49
primary:
56
50
persistence:
57
51
# Size of the PVC for the postgres database
@@ -96,10 +90,7 @@ solr:
96
90
replicaCount: 1
97
91
collectionShards: 1
98
92
collectionReplicas: 1
99
-
zookeeper:
100
-
replicaCount: 1
101
-
persistence:
102
-
size: 1Gi
93
+
103
94
persistence:
104
95
size: 1Gi
105
96
auth:
@@ -117,7 +108,9 @@ solr:
117
108
image:
118
109
repository: bitnamilegacy/zookeeper
119
110
tag: 3.9.3-debian-12-r22
120
-
111
+
replicaCount: 1#
112
+
persistence:
113
+
size: 1Gi # Default is 8Gi
121
114
122
115
123
116
# This is for the secrets for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
0 commit comments