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

get rid of kubedb in sites-binets chart

parent db96be89
Pipeline #4531 passed with stage
in 8 seconds
{{- if .Values.db.mongodb.enabled -}}
apiVersion: kubedb.com/v1alpha1
kind: MongoDB
metadata:
name: {{ .Release.Name }}-mgodb
namespace: {{ .Release.Namespace }}
spec:
version: "3.6"
doNotPause: false
storage:
storageClassName: {{ .Values.db.storageClassName }}
accessModes:
- ReadWriteOnce
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: false
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