helm: add deploy chart for self-hosted installation

This commit is contained in:
Naeel
2026-04-13 07:06:33 +03:00
parent 297f8a17a5
commit d9950ad4d4
10 changed files with 304 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
# secret-billing.yaml — Secret с PostgreSQL credentials для billing
# Создаётся только если billing.enabled=true и existingSecret не указан
# Created: 2026-04-12
{{- if and .Values.billing.enabled (not .Values.billing.postgres.existingSecret) }}
apiVersion: v1
kind: Secret
metadata:
name: shared-sqs-billing-pg
namespace: {{ .Values.namespace }}
labels:
{{- include "shared-sqs.labels" . | nindent 4 }}
type: Opaque
stringData:
password: {{ required "billing.postgres.password is required when billing is enabled" .Values.billing.postgres.password | quote }}
{{- end }}