Add Helm chart and GitLab CI pipeline

- Helm chart with PostgreSQL, MinIO, Redis as optional subcharts
- Production and external infrastructure value files
- HPA, Ingress, and health probe support
- GitLab CI pipeline using Buildah for container builds
- Multi-stage pipeline: test, build, publish
This commit is contained in:
Mondo Diaz
2025-12-04 14:57:46 -06:00
parent a0e350ee7f
commit cd75cb864d
16 changed files with 926 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
{{- if and (not .Values.postgresql.enabled) (not .Values.orchard.database.existingSecret) }}
apiVersion: v1
kind: Secret
metadata:
name: {{ include "orchard.fullname" . }}-db-secret
labels:
{{- include "orchard.labels" . | nindent 4 }}
type: Opaque
data:
password: {{ .Values.orchard.database.password | b64enc | quote }}
{{- end }}
---
{{- if and (not .Values.minio.enabled) (not .Values.orchard.s3.existingSecret) }}
apiVersion: v1
kind: Secret
metadata:
name: {{ include "orchard.fullname" . }}-s3-secret
labels:
{{- include "orchard.labels" . | nindent 4 }}
type: Opaque
data:
access-key-id: {{ .Values.orchard.s3.accessKeyId | b64enc | quote }}
secret-access-key: {{ .Values.orchard.s3.secretAccessKey | b64enc | quote }}
{{- end }}