tangled
alpha
login
or
join now
aleeve.dev
/
ott
2
fork
atom
Scalable and distributed custom feed generator, ott - on that topic
2
fork
atom
overview
issues
pulls
pipelines
Add database credentials to embedding service
aleeve.dev
5 months ago
6aed5819
f0eec098
+18
2 changed files
expand all
collapse all
unified
split
helm
ott
templates
deployments.yaml
values.yaml
+2
helm/ott/templates/deployments.yaml
···
20
20
- name: connector
21
21
image: "{{ .image.fqn }}"
22
22
imagePullPolicy: {{ .image.pullPolicy }}
23
23
+
env:
24
24
+
{{- toYaml .env | nindent 10 }}
23
25
{{- end }}
+16
helm/ott/values.yaml
···
24
24
image:
25
25
fqn: ott-embed
26
26
pullPolicy: IfNotPresent
27
27
+
env:
28
28
+
- name: DATABASE_USER
29
29
+
valueFrom:
30
30
+
secretKeyRef:
31
31
+
name: postgres-app
32
32
+
key: username
33
33
+
- name: DATABASE_PASSWORD
34
34
+
valueFrom:
35
35
+
secretKeyRef:
36
36
+
name: postgres-app
37
37
+
key: password
38
38
+
- name: DATABASE_URL
39
39
+
value: "postgres://$(DATABASE_USER):$(DATABASE_PASSWORD)@postgres-rw.default.svc.cluster.local:5432"
27
40
28
41
- name: ott-xrpc
29
42
image:
···
31
44
pullPolicy: IfNotPresent
32
45
replicas: 1
33
46
replicas: 1
47
47
+
env:
48
48
+
- name: EXTERNAL_BASE
49
49
+
value: localhost