Skip to content

Commit

Permalink
fix default backend and use it only for 502,503,504 (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
auhlig authored and databus23 committed Dec 21, 2017
1 parent 142d149 commit 4ed6346
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ metadata:
name: {{ template "controller.fullname" . }}
data:
enable-vts-status: "{{ .Values.controller.stats.enabled }}"
custom-http-errors: 404,500
custom-http-errors: {{.Values.defaultBackend.custom_http_errors}}
{{- if .Values.controller.config }}
{{ toYaml .Values.controller.config | indent 2 }}
{{- end }}
4 changes: 3 additions & 1 deletion charts/kubernikus-system/charts/nginx-ingress/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,11 @@ defaultBackend:
name: default-backend
image:
repository: sapcc/custombackend
tag: "0.1"
tag: "0.3"
pullPolicy: IfNotPresent

custom_http_errors: 502,503,504

extraArgs: {}

## Node tolerations for server scheduling to nodes with taints
Expand Down

0 comments on commit 4ed6346

Please sign in to comment.