Files
orchard/helm/orchard/templates/secret.yaml
Mondo Diaz cd75cb864d 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
2025-12-04 14:57:46 -06:00

25 lines
760 B
YAML

{{- 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 }}