restore buisness owned postgresql from company dumps

This commit is contained in:
Kochetkov S 2026-06-29 18:20:02 +03:00
parent 1565d9550e
commit bc8222b5cd

View File

@ -17,21 +17,20 @@ spec:
_default: postgresql _default: postgresql
podAutomountServiceAccountToken: podAutomountServiceAccountToken:
_default: true _default: true
deployment: podAnnotations:
podAnnotations: _default:
_default: vault.hashicorp.com/agent-init-first: "true"
vault.hashicorp.com/agent-init-first: "true" vault.hashicorp.com/agent-inject: "true"
vault.hashicorp.com/agent-inject: "true" vault.hashicorp.com/agent-pre-populate-only: "true"
vault.hashicorp.com/agent-pre-populate-only: "true" vault.hashicorp.com/auth-path: "auth/kubernetes"
vault.hashicorp.com/auth-path: "auth/kubernetes" vault.hashicorp.com/role: "postgresql"
vault.hashicorp.com/role: "postgresql" vault.hashicorp.com/agent-inject-secret-aws-credentials: "secrets/data/postgresql/s3"
vault.hashicorp.com/agent-inject-secret-aws-credentials: "secrets/data/postgresql/s3" vault.hashicorp.com/agent-inject-template-aws-credentials: |
vault.hashicorp.com/agent-inject-template-aws-credentials: | {{- with secret "secrets/data/postgresql/s3" -}}
{{- with secret "secrets/data/postgresql/s3" -}} [default]
[default] aws_access_key_id={{ .Data.data.access_key }}
aws_access_key_id={{ .Data.data.access_key }} aws_secret_access_key={{ .Data.data.secret_key }}
aws_secret_access_key={{ .Data.data.secret_key }} {{- end }}
{{- end }}
envs: envs:
- name: AWS_API_ENDPOINT - name: AWS_API_ENDPOINT
value: value: