charts/charts/statping/templates/postgres.yaml
Nicholas St. Germain a037936b3e
[statping] New Chart (#36)
Co-authored-by: Devin Buhl <onedr0p@users.noreply.github.com>
2020-09-13 08:09:14 -04:00

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