From bc8222b5cd6fed9ae1199fe53e26235d55dcd5cc Mon Sep 17 00:00:00 2001 From: Kochetkov S Date: Mon, 29 Jun 2026 18:20:02 +0300 Subject: [PATCH] restore buisness owned postgresql from company dumps --- .../s3-proxy/yc-k8s-test/s3-proxy.yaml | 29 +++++++++---------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/infrastructure/s3-proxy/yc-k8s-test/s3-proxy.yaml b/infrastructure/s3-proxy/yc-k8s-test/s3-proxy.yaml index 387c568..68a5f77 100644 --- a/infrastructure/s3-proxy/yc-k8s-test/s3-proxy.yaml +++ b/infrastructure/s3-proxy/yc-k8s-test/s3-proxy.yaml @@ -17,21 +17,20 @@ spec: _default: postgresql podAutomountServiceAccountToken: _default: true - deployment: - podAnnotations: - _default: - vault.hashicorp.com/agent-init-first: "true" - vault.hashicorp.com/agent-inject: "true" - vault.hashicorp.com/agent-pre-populate-only: "true" - vault.hashicorp.com/auth-path: "auth/kubernetes" - vault.hashicorp.com/role: "postgresql" - vault.hashicorp.com/agent-inject-secret-aws-credentials: "secrets/data/postgresql/s3" - vault.hashicorp.com/agent-inject-template-aws-credentials: | - {{- with secret "secrets/data/postgresql/s3" -}} - [default] - aws_access_key_id={{ .Data.data.access_key }} - aws_secret_access_key={{ .Data.data.secret_key }} - {{- end }} + podAnnotations: + _default: + vault.hashicorp.com/agent-init-first: "true" + vault.hashicorp.com/agent-inject: "true" + vault.hashicorp.com/agent-pre-populate-only: "true" + vault.hashicorp.com/auth-path: "auth/kubernetes" + vault.hashicorp.com/role: "postgresql" + vault.hashicorp.com/agent-inject-secret-aws-credentials: "secrets/data/postgresql/s3" + vault.hashicorp.com/agent-inject-template-aws-credentials: | + {{- with secret "secrets/data/postgresql/s3" -}} + [default] + aws_access_key_id={{ .Data.data.access_key }} + aws_secret_access_key={{ .Data.data.secret_key }} + {{- end }} envs: - name: AWS_API_ENDPOINT value: