Skip to content

Commit

Permalink
add variable hostAliases to apigw
Browse files Browse the repository at this point in the history
  • Loading branch information
Aron Kaufmann committed Dec 7, 2023
1 parent 1cca359 commit d419192
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion apigateway/helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ spec:
periodSeconds: 30
successThreshold: 1
timeoutSeconds: 1

readinessProbe:
httpGet:
path: /rest/apigateway/health
Expand Down Expand Up @@ -219,6 +218,10 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.hostAliases }}
hostAliases:
{{- toYaml .Values.hostAliases | nindent 8 }}
{{- end }}
volumes:
- name: apigw-config
configMap:
Expand Down
3 changes: 3 additions & 0 deletions apigateway/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,9 @@ tolerations: []

affinity: {}

# -- Value to add extra host aliases to APIGW container.
hostAliases: []

global:
curlImage: "curlimages/curl"
# -- Protocol for health check for kibana startup, must be http / https
Expand Down

0 comments on commit d419192

Please sign in to comment.