Skip to content

Commit

Permalink
Merge pull request #37 from flam-flam/issue/13
Browse files Browse the repository at this point in the history
#13 fixed submission service helm chart
  • Loading branch information
timberhill committed Sep 15, 2023
2 parents 1986eed + 3e8516c commit aa2f159
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
14 changes: 8 additions & 6 deletions charts/submission-service/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ spec:
containerPort: {{ .Values.service.port }}
protocol: TCP
livenessProbe:
httpGet:
path: /
tcpSocket:
path: /api/health
port: http
readinessProbe:
httpGet:
path: /
tcpSocket:
path: /api/health
port: http
resources:
{{- toYaml .Values.resources | nindent 12 }}
Expand All @@ -62,10 +62,12 @@ spec:
value: {{ include "submission-service.mongo-server" . }}
- name: MONGO_PORT
value: "{{ .Values.mongo.port }}"
- name: MONGO_CONNECTION_STRING
- name: FlamFlamDb__ConnectionString
value: mongodb://$(MONGO_USERNAME):$(MONGO_PASSWORD)@$(MONGO_SERVER):$(MONGO_PORT)
- name: MONGO_DATABASE_NAME
- name: FlamFlamDb__DatabaseName
value: flam
- name: FlamFlamDb__SubmissionsCollectionName
value: submissions
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
2 changes: 1 addition & 1 deletion charts/submission-service/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ securityContext: {}

service:
type: ClusterIP
port: 8000
port: 80

resources:
limits:
Expand Down

0 comments on commit aa2f159

Please sign in to comment.