Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SS-1141 Added info on how to setup the custom backend for the errors on k8s level #62

Merged
merged 2 commits into from
Nov 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the README, you give instructions for configuring both 404 and 503, yet here you only configure 503. Is that intentional?

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