mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-02-05 16:59:05 +00:00
a037936b3e
Co-authored-by: Devin Buhl <onedr0p@users.noreply.github.com>
13 lines
410 B
YAML
13 lines
410 B
YAML
{{- if and .Values.postgres.enabled (eq .Values.postgres.type "kubedb") }}
|
|
apiVersion: kubedb.com/v1alpha1
|
|
kind: Postgres
|
|
metadata:
|
|
name: postgres-{{ template "statping.fullname" . }}
|
|
spec:
|
|
version: {{ .Values.postgres.kubedb.version }}
|
|
storageType: {{ .Values.postgres.kubedb.storageType }}
|
|
{{- with .Values.postgres.kubedb.storage }}
|
|
storage:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
{{- end }} |