Skip to content

Commit

Permalink
SS-1141 Added info on how to setup the custom backend for the errors …
Browse files Browse the repository at this point in the history
…on k8s level (#62)
  • Loading branch information
churnikov authored Nov 27, 2024
1 parent f2a807d commit 20eacca
Show file tree
Hide file tree
Showing 24 changed files with 16,007 additions and 9 deletions.
2 changes: 1 addition & 1 deletion apps/custom-app/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "0.1"
description: A Helm chart for a standard serve app
name: custom-app
version: 1.1.0
version: 1.1.1
maintainers:
- name: Team Whale
email: [email protected]
2 changes: 2 additions & 0 deletions apps/custom-app/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ metadata:
nginx.ingress.kubernetes.io/auth-url: "{{ .Values.global.protocol }}://{{ .Values.global.auth_domain }}:8080/auth/?release={{ .Values.release }}"
nginx.ingress.kubernetes.io/auth-signin: "https://{{ .Values.global.domain }}/accounts/login/?next=$scheme%3A%2F%2F$host"
{{- end }}
nginx.ingress.kubernetes.io/custom-http-errors: "503"
nginx.ingress.kubernetes.io/default-backend: nginx-errors
spec:
rules:
- host: {{ .Release.Name }}.{{ .Values.global.domain }}
Expand Down
2 changes: 1 addition & 1 deletion apps/dash/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "0.1"
description: A Helm chart Dash apps
name: dash-app
version: 1.0.2
version: 1.0.3
maintainers:
- name: Team Whale
email: [email protected]
2 changes: 2 additions & 0 deletions apps/dash/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ metadata:
nginx.ingress.kubernetes.io/auth-url: "{{ .Values.global.protocol }}://{{ .Values.global.auth_domain }}:8080/auth/?release={{ .Values.release }}"
nginx.ingress.kubernetes.io/auth-signin: "https://{{ .Values.global.domain }}/accounts/login/?next=$scheme%3A%2F%2F$host"
{{- end }}
nginx.ingress.kubernetes.io/custom-http-errors: "503"
nginx.ingress.kubernetes.io/default-backend: nginx-errors
spec:
rules:
- host: {{ .Release.Name }}.{{ .Values.global.domain }}
Expand Down
2 changes: 1 addition & 1 deletion apps/filemanager/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "0.1"
description: A Helm chart for the serve File Manager
name: filemanager
version: 1.0.2
version: 1.0.3
maintainers:
- name: Team Whale
email: [email protected]
2 changes: 2 additions & 0 deletions apps/filemanager/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ metadata:
nginx.ingress.kubernetes.io/auth-url: "{{ .Values.global.protocol }}://{{ .Values.global.auth_domain }}:8080/auth/?release={{ .Values.release }}"
nginx.ingress.kubernetes.io/auth-signin: "https://{{ .Values.global.domain }}/accounts/login/?next=$scheme%3A%2F%2F$host"
{{- end }}
nginx.ingress.kubernetes.io/custom-http-errors: "503"
nginx.ingress.kubernetes.io/default-backend: nginx-errors
name: {{ .Release.Name }}-filemanager-ingress
namespace: {{ .Release.Namespace }}
spec:
Expand Down
2 changes: 1 addition & 1 deletion apps/jupyter-lab/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "0.1"
description: A Helm chart for Jupyter Lab
name: lab
version: 1.0.2
version: 1.0.3
maintainers:
- name: Team Whale
email: [email protected]
2 changes: 2 additions & 0 deletions apps/jupyter-lab/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ metadata:
nginx.ingress.kubernetes.io/auth-url: "{{ .Values.global.protocol }}://{{ .Values.global.auth_domain }}:8080/auth/?release={{ .Values.release }}"
nginx.ingress.kubernetes.io/auth-signin: "https://{{ .Values.global.domain }}/accounts/login/?next=$scheme%3A%2F%2F$host"
#nginx.ingress.kubernetes.io/auth-response-headers: X-Forwarded-Host
nginx.ingress.kubernetes.io/custom-http-errors: "503"
nginx.ingress.kubernetes.io/default-backend: nginx-errors
spec:
rules:
- host: {{ .Release.Name }}.{{ .Values.global.domain }}
Expand Down
2 changes: 1 addition & 1 deletion apps/rstudio/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "0.1"
description: A Helm chart for RStudio in the browser
name: rstudio
version: 1.0.2
version: 1.0.3
maintainers:
- name: Team Whale
email: [email protected]
2 changes: 2 additions & 0 deletions apps/rstudio/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ metadata:
nginx.ingress.kubernetes.io/auth-url: "{{ .Values.global.protocol }}://{{ .Values.global.auth_domain }}:8080/auth/?release={{ .Values.release }}"
nginx.ingress.kubernetes.io/auth-signin: "https://{{ .Values.global.domain }}/accounts/login/?next=$scheme%3A%2F%2F$host"
#nginx.ingress.kubernetes.io/auth-response-headers: X-Forwarded-Host
nginx.ingress.kubernetes.io/custom-http-errors: "503"
nginx.ingress.kubernetes.io/default-backend: nginx-errors
spec:
rules:
- host: {{ .Release.Name }}.{{ .Values.global.domain }}
Expand Down
2 changes: 1 addition & 1 deletion apps/shiny/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "0.1"
description: A Helm chart Shiny apps
name: shinyapp
version: 1.0.3
version: 1.0.4
maintainers:
- name: Team Whale
email: [email protected]
2 changes: 2 additions & 0 deletions apps/shiny/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ metadata:
nginx.ingress.kubernetes.io/auth-url: "{{ .Values.global.protocol }}://{{ .Values.global.auth_domain }}:8080/auth/?release={{ .Values.release }}"
nginx.ingress.kubernetes.io/auth-signin: "https://{{ .Values.global.domain }}/accounts/login/?next=$scheme%3A%2F%2F$host"
{{- end }}
nginx.ingress.kubernetes.io/custom-http-errors: "503"
nginx.ingress.kubernetes.io/default-backend: nginx-errors
spec:
rules:
- host: {{ .Release.Name }}.{{ .Values.global.domain }}
Expand Down
2 changes: 1 addition & 1 deletion apps/shinyproxy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: shinyproxy
description: A Helm chart to install Shinyproxy
type: application
version: 1.4.2
version: 1.4.3
appVersion: "0.1"
maintainers:
- name: Team Whale
Expand Down
2 changes: 2 additions & 0 deletions apps/shinyproxy/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ metadata:
{{- end }}
nginx.ingress.kubernetes.io/proxy-body-size: 2000m
#nginx.ingress.kubernetes.io/auth-response-headers: X-Forwarded-Host
nginx.ingress.kubernetes.io/custom-http-errors: "503"
nginx.ingress.kubernetes.io/default-backend: nginx-errors
spec:
rules:
- host: {{ .Release.Name }}.{{ .Values.global.domain }}
Expand Down
2 changes: 1 addition & 1 deletion apps/tissuumaps/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "0.1"
description: A Helm chart tissuumaps apps
name: tissuumaps
version: 1.0.2
version: 1.0.3
maintainers:
- name: Team Whale
email: [email protected]
2 changes: 2 additions & 0 deletions apps/tissuumaps/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ metadata:
nginx.ingress.kubernetes.io/auth-url: "{{ .Values.global.protocol }}://{{ .Values.global.auth_domain }}:8080/auth/?release={{ .Values.release }}"
nginx.ingress.kubernetes.io/auth-signin: "https://{{ .Values.global.domain }}/accounts/login/?next=$scheme%3A%2F%2F$host"
{{- end }}
nginx.ingress.kubernetes.io/custom-http-errors: "503"
nginx.ingress.kubernetes.io/default-backend: nginx-errors
spec:
rules:
- host: {{ .Release.Name }}.{{ .Values.global.domain }}
Expand Down
2 changes: 1 addition & 1 deletion apps/vscode/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: v1
appVersion: "0.1"
description: A Helm chart for VS code in the browser
name: vscode
version: 1.0.1
version: 1.0.2
maintainers:
- name: Team Whale
email: [email protected]
2 changes: 2 additions & 0 deletions apps/vscode/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ metadata:
nginx.ingress.kubernetes.io/auth-url: "{{ .Values.global.protocol }}://{{ .Values.global.auth_domain }}:8080/auth/?release={{ .Values.release }}"
nginx.ingress.kubernetes.io/auth-signin: "https://{{ .Values.global.domain }}/accounts/login/?next=$scheme%3A%2F%2F$host"
#nginx.ingress.kubernetes.io/auth-response-headers: X-Forwarded-Host
nginx.ingress.kubernetes.io/custom-http-errors: "503"
nginx.ingress.kubernetes.io/default-backend: nginx-errors
spec:
rules:
- host: {{ .Release.Name }}.{{ .Values.global.domain }}
Expand Down
2,955 changes: 2,955 additions & 0 deletions error-page-404.html

Large diffs are not rendered by default.

2,955 changes: 2,955 additions & 0 deletions error-page-503.html

Large diffs are not rendered by default.

Loading

0 comments on commit 20eacca

Please sign in to comment.