Files
trebuchet/charts/trebuchet/templates/temporal-cnpg-cluster.yaml
T
Chris Farhood c744738ee3
CI / Type-check & lint (pull_request) Successful in 16s
CI / Build & push worker image (pull_request) Has been skipped
CI / Build & push API image (pull_request) Has been skipped
chore: rename helm chart from hightower to trebuchet
- Rename charts/hightower → charts/trebuchet
- Update Chart.yaml name field to 'trebuchet'
- Rename all helm template helpers from 'hightower.*' to 'trebuchet.*'
- Update all template files to reference trebuchet helpers
- Update values.yaml credentials secret names to use trebuchet prefix
- Update helm-release.yml workflow to:
  - Monitor charts/trebuchet/** path instead of charts/hightower/**
  - Reference correct chart path in lint and package steps
  - Remove GitHub Pages publishing (incompatible with Gitea)

Ref: FAR-132

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-18 20:19:19 +00:00

20 lines
611 B
YAML

{{- if .Values.cnpg.enabled }}
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: {{ include "trebuchet.cnpg.fullname" . }}
labels:
{{- include "trebuchet.labels" . | nindent 4 }}
spec:
instances: {{ .Values.cnpg.instances }}
storage:
size: {{ .Values.cnpg.storage.size }}
storageClass: {{ .Values.cnpg.storage.storageClass }}
bootstrap:
initdb:
database: {{ .Values.temporal.db.name }}
owner: {{ .Values.temporal.db.name }}
postInitSQL:
- CREATE DATABASE {{ .Values.temporal.db.visibilityName }} OWNER {{ .Values.temporal.db.name }};
{{- end }}