Commit d1c9fce2 authored by Will JALLET's avatar Will JALLET 💸

add postgreSQL option for db

parent e727fa7d
......@@ -14,4 +14,21 @@ spec:
resources:
requests:
storage: {{ .Values.db.storageSize }}
{{- end -}}
{{- if .Values.db.postgres.enabled -}}
apiVersion: kubedb.com/v1alpha1
kind: Postgres
metadata:
name: {{ .Release.Name }}-postgres
namespace: {{ .Release.Namespace }}
spec:
version: "9.6"
doNotPause: true
storage:
storageClassName: {{ .Values.db.storageClassName }}
accessModes:
- ReadWriteOnce
resources:
requests:
storage: {{ .Values.db.storageSize }}
{{- end -}}
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment