Update database environment variables in attachments app deployment configuration
This commit is contained in:
parent
6e43128c6a
commit
077df03c8b
@ -40,30 +40,18 @@ spec:
|
|||||||
- name: YANDEX_S3_USE_SSL
|
- name: YANDEX_S3_USE_SSL
|
||||||
value: "false"
|
value: "false"
|
||||||
- name: DATABASE_HOST
|
- name: DATABASE_HOST
|
||||||
valueFrom:
|
value: "postgresql.attachments"
|
||||||
secretKeyRef:
|
|
||||||
name: postgres-secret
|
|
||||||
key: host
|
|
||||||
- name: DATABASE_PORT
|
- name: DATABASE_PORT
|
||||||
valueFrom:
|
value: "5432"
|
||||||
secretKeyRef:
|
|
||||||
name: postgres-secret
|
|
||||||
key: port
|
|
||||||
- name: DATABASE_NAME
|
- name: DATABASE_NAME
|
||||||
valueFrom:
|
value: attachments_db
|
||||||
secretKeyRef:
|
|
||||||
name: postgres-secret
|
|
||||||
key: database
|
|
||||||
- name: DATABASE_USER
|
- name: DATABASE_USER
|
||||||
valueFrom:
|
value: attachments
|
||||||
secretKeyRef:
|
|
||||||
name: postgres-secret
|
|
||||||
key: username
|
|
||||||
- name: DATABASE_PASSWORD
|
- name: DATABASE_PASSWORD
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: postgres-secret
|
name: postgresql-secret
|
||||||
key: password
|
key: user-password
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /etc/sarex/yc-s3-storage
|
- mountPath: /etc/sarex/yc-s3-storage
|
||||||
name: yc-s3
|
name: yc-s3
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user