feat: Add docs

This commit is contained in:
2026-01-29 09:26:53 +01:00
parent b71da56da7
commit cf816e621b
18 changed files with 595 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
{{- if .Values.cluster.enabled -}}
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: {{ include "docs.fullname" . }}
annotations:
linkerd.io/inject: disabled
labels:
{{- include "docs.labels" . | nindent 4 }}
spec:
instances: {{ .Values.cluster.instances | default "2" }}
# Example of rolling update strategy:
# - unsupervised: automated update of the primary once all
# replicas have been upgraded (default)
# - supervised: requires manual supervision to perform
# the switchover of the primary
primaryUpdateStrategy: unsupervised
backup:
retentionPolicy: {{ .Values.cluster.backupRetention | default "60d" }}
storage:
size: {{ .Values.cluster.size | default "5Gi" }}
{{- end }}