Sync chart from pieced-threema-gateway 0.1.1
This commit is contained in:
20
deploy/helm/pieced-threema-gateway/templates/database.yaml
Normal file
20
deploy/helm/pieced-threema-gateway/templates/database.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
{{- if .Values.postgres.enabled }}
|
||||
apiVersion: postgresql.cnpg.io/v1
|
||||
kind: Cluster
|
||||
metadata:
|
||||
name: pieced-threema-gateway-db
|
||||
namespace: {{ .Values.namespace }}
|
||||
spec:
|
||||
instances: {{ .Values.postgres.instances }}
|
||||
bootstrap:
|
||||
initdb:
|
||||
database: relay
|
||||
owner: relay
|
||||
storage:
|
||||
size: {{ .Values.postgres.storage.size }}
|
||||
storageClass: {{ .Values.postgres.storage.storageClass }}
|
||||
resources:
|
||||
{{- toYaml .Values.postgres.resources | nindent 4 }}
|
||||
monitoring:
|
||||
enablePodMonitor: true
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user