diff --git a/apps/attachments/base/deployment.yaml b/apps/attachments/base/deployment.yaml index 7e517d4..347d5c7 100644 --- a/apps/attachments/base/deployment.yaml +++ b/apps/attachments/base/deployment.yaml @@ -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