Commit 7c74762f authored by Will JALLET's avatar Will JALLET 💸

Update chart with database template (WIP)

parent c9f21065
Pipeline #4337 failed with stage
in 12 seconds
description: La charte de référence pour déployer des applications web sur le cluster.
name: sites-binets
version: v0.1.2
version: v0.1.3
kubeVersion: '>=1.9.0-0'
icon: file://Logo_Binet_Reseau.png
maintainers:
......
{{- if .Values.db.mongodb -}}
apiVersion: kubedb.com/v1alpha1
kind: MongoDB
metadata:
name: {{ .Release.Name }}-mgodb
namespace: {{ .Release.Namespace }}
spec:
version: "3.6"
doNotPause: true
storage:
storageClassName: {{ .Values.db.storageClassName }}
accessModes:
- ReadWriteOnce
resources:
requests:
storage: {{ .Values.db.storageSize }}
{{- end -}}
\ No newline at end of file
......@@ -19,7 +19,17 @@ ingress:
# hosts:
# - chart-example.local
db:
postgres:
enabled: false
mysql:
enabled: false
mongodb:
enabled: false
storageSize: 50Mi
storageClassName: "rook-ceph-block"
service:
type: ClusterIP
## Le port sur lequel tourne le service.
port: 8000
\ No newline at end of file
port: 8000
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