diff --git a/.idea/encodings.xml b/.idea/encodings.xml
new file mode 100644
index 000000000..15a15b218
--- /dev/null
+++ b/.idea/encodings.xml
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/.idea/go-demo-6.iml b/.idea/go-demo-6.iml
new file mode 100644
index 000000000..c956989b2
--- /dev/null
+++ b/.idea/go-demo-6.iml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 000000000..4dab16933
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,81 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 000000000..9e3603420
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 000000000..94a25f7f4
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
new file mode 100644
index 000000000..0eb8db5e7
--- /dev/null
+++ b/.idea/workspace.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -db
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/charts/go-demo-6/requirements.yaml b/charts/go-demo-6/requirements.yaml
new file mode 100644
index 000000000..f440180eb
--- /dev/null
+++ b/charts/go-demo-6/requirements.yaml
@@ -0,0 +1,6 @@
+dependencies:
+- name: mongodb
+ alias: go-demo-6-db
+ version: 5.3.0
+ repository: https://kubernetes-charts.storage.googleapis.com
+
diff --git a/charts/go-demo-6/templates/deployment.yaml b/charts/go-demo-6/templates/deployment.yaml
index a9b19a9f2..f8536aadd 100755
--- a/charts/go-demo-6/templates/deployment.yaml
+++ b/charts/go-demo-6/templates/deployment.yaml
@@ -21,6 +21,9 @@ spec:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
+ env:
+ - name: DB
+ value: {{ template "fullname" . }}-db
ports:
- containerPort: {{ .Values.service.internalPort }}
livenessProbe:
diff --git a/charts/go-demo-6/values.yaml b/charts/go-demo-6/values.yaml
index bbfc2ba2b..7e38602b8 100755
--- a/charts/go-demo-6/values.yaml
+++ b/charts/go-demo-6/values.yaml
@@ -32,3 +32,7 @@ readinessProbe:
successThreshold: 1
timeoutSeconds: 1
terminationGracePeriodSeconds: 10
+go-demo-6-db:
+ replicaSet:
+ enabled: true
+