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

26 lines
996 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.

---
# Патч celery для контура wb.
#
# В apps/issues/base/celery.yaml AERO_*/SAREX_API уже "https://srx.wb.ru" —
# трогать envs не нужно. Но MinIO-бакет в base тоже неверный (rfi вместо
# issues) — правим только podAnnotations (map, мержится по ключам).
# См. подробности в apps/issues/wb/backend.yaml.
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: celery
namespace: issues
spec:
values:
services:
celery:
podAnnotations:
_default:
vault.hashicorp.com/agent-inject-template-issues-s3: |-
{{- with secret "secrets/data/minio/apps/issues" -}}
YC_S3_ACCESS_KEY_ID={{ index .Data.data "access_key" }}
YC_S3_SECRET_ACCESS_KEY={{ index .Data.data "secret_key" }}
YC_S3_BUCKET_NAME=issues
YC_S3_ENDPOINT_URL=https://minio-srx.wb.ru
{{- end -}}