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

add configurable ingress defaultBackend for arcticdata.io wordpress s… #2031

Merged
merged 1 commit into from
Dec 4, 2024
Merged
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
4 changes: 4 additions & 0 deletions helm/templates/ingress.yaml
Original file line number Diff line number Diff line change
@@ -42,6 +42,10 @@ metadata:
{{ . | nindent 6 }}
{{- end }}
spec:
{{- if .Values.ingress.defaultBackend.enabled }}
defaultBackend:
{{- omit .Values.ingress.defaultBackend "enabled" | toYaml | nindent 4 }}
{{- end }}
ingressClassName: {{ .Values.ingress.className }}
{{- if .Values.ingress.tls }}
tls:
15 changes: 15 additions & 0 deletions helm/values.yaml
Original file line number Diff line number Diff line change
@@ -718,6 +718,21 @@ ingress:
# https://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size
nginx.ingress.kubernetes.io/client_max_body_size: "10m"

## @param ingress.defaultBackend (optional) default for any requests not matching defined paths
## If none of the hosts or paths match the HTTP request in the Ingress objects, the traffic is
## routed to your default backend. Not typically required, unless metacatui
## Content included here under `defaultBackend` will be added to the ingress definition under
## `spec.defaultBackend'; for example:
##
## spec:
## defaultBackend:
## service:
## name: myrelease-wordpress
## port:
## number: 80
##
defaultBackend: []

## @param ingress.rewriteRules rewrite rules for the nginx ingress
## These rules will be added to the section
## metadata: