Skip to content

Commit

Permalink
Added dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
m-gendi committed Feb 20, 2019
1 parent 611d13e commit 1f73a8c
Show file tree
Hide file tree
Showing 9 changed files with 335 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .idea/encodings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/go-demo-6.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

81 changes: 81 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

215 changes: 215 additions & 0 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions charts/go-demo-6/requirements.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
dependencies:
- name: mongodb
alias: go-demo-6-db
version: 5.3.0
repository: https://kubernetes-charts.storage.googleapis.com

3 changes: 3 additions & 0 deletions charts/go-demo-6/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions charts/go-demo-6/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,7 @@ readinessProbe:
successThreshold: 1
timeoutSeconds: 1
terminationGracePeriodSeconds: 10
go-demo-6-db:
replicaSet:
enabled: true

0 comments on commit 1f73a8c

Please sign in to comment.