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
|
||||
value: "false"
|
||||
- name: DATABASE_HOST
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: postgres-secret
|
||||
key: host
|
||||
value: "postgresql.attachments"
|
||||
- name: DATABASE_PORT
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: postgres-secret
|
||||
key: port
|
||||
value: "5432"
|
||||
- name: DATABASE_NAME
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: postgres-secret
|
||||
key: database
|
||||
value: attachments_db
|
||||
- name: DATABASE_USER
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: postgres-secret
|
||||
key: username
|
||||
value: attachments
|
||||
- name: DATABASE_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: postgres-secret
|
||||
key: password
|
||||
name: postgresql-secret
|
||||
key: user-password
|
||||
volumeMounts:
|
||||
- mountPath: /etc/sarex/yc-s3-storage
|
||||
name: yc-s3
|
||||
|
||||
Loading…
Reference in New Issue
Block a user