Skip to content

Commit

Permalink
PM-1753 configure flask to listen on all interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
simisimis committed Jun 19, 2024
1 parent 89fba7f commit 5cc3ad4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions delegation-program-leaderboard/templates/deployment-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ spec:
- name: SNARK_DB
value: {{ $.Values.delegationProgramDB.name | quote }}
- name: API_HOST
value: localhost
value: 0.0.0.0
- name: API_PORT
value: {{ .service.port | quote }}
- name: CACHE_TIMEOUT
value: {{ .cacheTimeout | quote }}
- name: LOGGING_LOCATION
value: {{ .logFile }}
- name: SWAGGER_HOST
value: localhost:{{ .service.port }}
value: 0.0.0.0:{{ .service.port }}
{{- if .extraEnvVars }}
{{- toYaml .extraEnvVars | nindent 12 }}
{{- end }}
Expand All @@ -62,11 +62,11 @@ spec:
protocol: TCP
livenessProbe:
httpGet:
path: /
path: /apidocs
port: http
readinessProbe:
httpGet:
path: /
path: /apidocs
port: http
resources:
{{- toYaml .resources | nindent 12 }}
Expand Down

0 comments on commit 5cc3ad4

Please sign in to comment.