Update Notes app backend deployment: scale replicas to 1, disable PG SSL, fix port, and update secret key reference
This commit is contained in:
parent
3a2a76fbfe
commit
1b5763e054
@ -7,7 +7,7 @@ metadata:
|
||||
labels:
|
||||
app: backend
|
||||
spec:
|
||||
replicas: 0
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: backend
|
||||
@ -27,7 +27,7 @@ spec:
|
||||
protocol: TCP
|
||||
env:
|
||||
- name: PG_SSL_MODE
|
||||
value: verify-full
|
||||
value: 'disable'
|
||||
- name: DJANGO_HOST
|
||||
value: https://lk.sarex.io
|
||||
- name: BASE_HOST
|
||||
@ -51,7 +51,7 @@ spec:
|
||||
- name: ATTACHMENT_HOST
|
||||
value: http://attachments-service.attachments.svc.cluster.local:80/api/v1
|
||||
- name: PG_PORT
|
||||
value: "6432"
|
||||
value: "5432"
|
||||
- name: PG_DB
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
@ -71,7 +71,7 @@ spec:
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: postgresql-secrets
|
||||
key: host
|
||||
key: hostname
|
||||
- name: DJANGO_TOKEN
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user