Files
SQS-service/deployments/helm/shared-sqs/values.yaml
T

101 lines
2.8 KiB
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.
# values.yaml — параметры деплоя shared-sqs
# Created: 2026-04-11
# Updated: 2026-04-13 — все параметры вынесены в values, billing включён
#
# ВАЖНО: перед деплоем заменить все значения помеченные # REQUIRED
# Чувствительные параметры лучше передавать через --set или -f secrets.yaml
# -- Namespace для деплоя
namespace: shared-sqs
# -- Количество реплик
replicaCount: 1
# -- Образ приложения
image:
repository: naeel/shared-sqs
tag: "v0.1.24"
pullPolicy: IfNotPresent
# -- imagePullSecrets (имя Secret'а с credentials к registry)
imagePullSecrets:
- name: sless-registry-auth
# -- Redis: эндпоинт, credentials
# addr — полный host:port (internal K8s DNS или внешний IP)
redis:
addr: "rfrm-redisk8s.54467f74-67f5-4ca7-9b4a-bdd50e8c23d6.svc:6379"
user: "default"
password: "quiY2oovugaiChiejah9"
# -- Admin токен для /admin/* API
admin:
token: "sqs-admin-7a7d8bd0c060a75c198d48680f34077a"
# -- Seed demo tenant при старте
seedDemo: true
# -- Nubes API endpoint (для JWT-аутентификации через UI)
nubesEndpoint: "https://deck-api-test.ngcloud.ru/api/v1"
# -- Ресурсы контейнера
resources:
requests:
memory: "64Mi"
cpu: "50m"
limits:
memory: "256Mi"
cpu: "500m"
# -- Service
service:
type: ClusterIP
port: 4100
# -- Ingress
ingress:
enabled: true
className: nginx
host: "qu.kube5s.ru"
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
nginx.ingress.kubernetes.io/proxy-body-size: "10m"
nginx.ingress.kubernetes.io/proxy-read-timeout: "30"
nginx.ingress.kubernetes.io/proxy-send-timeout: "30"
tls:
enabled: true
secretName: shared-sqs-tls
# -- Probes
probes:
liveness:
path: /health
initialDelaySeconds: 5
periodSeconds: 10
readiness:
path: /health
initialDelaySeconds: 3
periodSeconds: 5
# -- Strategy
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
# -- Billing: PostgreSQL для учёта использования SQS-операций.
# Если enabled=false — billing отключён, сервис работает без PostgreSQL.
billing:
enabled: true
postgres:
host: "postgresqlk8s-master.dc5db45d-f8b4-4fd0-ad33-ec4dd017f2d5.svc.cluster.local"
port: "5432"
database: "sqsdb"
user: "super"
password: "BQUF5ruECa1ZFlq4wYt3gPJUEmtBMkA9QNK4MM5Sd8al4ArMDlmT16DIKHYBPyif"
sslmode: "require"
# Альтернатива: указать имя уже существующего K8s Secret вместо password выше
existingSecret: ""
secretKey: "password"