iac/apps/subscriptions/wb/patch.yaml
2026-08-12 16:35:37 +05:00

23 lines
1011 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
# В base MinIO-шаблон зашит на YC_S3_ENDPOINT_URL=https://minio.contour.infra.sarex.tech
# и YC_S3_BUCKET_NAME=subscriptions — недоступно и не тот бакет для wb.
# Реальные значения — из terraform 1.yaml (infrastructure.minio.apps.subscriptions
# для wb): client.endpoint=http://minio-svc.minio.svc.cluster.local:9000,
# buckets[0].name=sarex-stage-storage-new.
apiVersion: apps/v1
kind: Deployment
metadata:
name: sarex-subscriptions
namespace: subscriptions
spec:
template:
metadata:
annotations:
vault.hashicorp.com/agent-inject-template-subscriptions-minio: |-
{{- with secret "secrets/data/minio/apps/subscriptions" -}}
YC_S3_ACCESS_KEY_ID={{ index .Data.data "access_key" }}
YC_S3_SECRET_ACCESS_KEY={{ index .Data.data "secret_key" }}
YC_S3_BUCKET_NAME=sarex-stage-storage-new
YC_S3_ENDPOINT_URL=http://minio-svc.minio.svc.cluster.local:9000
{{- end -}}