File tree 2 files changed +19
-0
lines changed
2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,10 @@ metadata:
42
42
{{ . | nindent 6 }}
43
43
{{- end }}
44
44
spec :
45
+ {{- if .Values.ingress.defaultBackend.enabled }}
46
+ defaultBackend :
47
+ {{- omit .Values.ingress.defaultBackend "enabled" | toYaml | nindent 4 }}
48
+ {{- end }}
45
49
ingressClassName : {{ .Values.ingress.className }}
46
50
{{- if .Values.ingress.tls }}
47
51
tls :
Original file line number Diff line number Diff line change @@ -718,6 +718,21 @@ ingress:
718
718
# https://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size
719
719
nginx.ingress.kubernetes.io/client_max_body_size : " 10m"
720
720
721
+ # # @param ingress.defaultBackend (optional) default for any requests not matching defined paths
722
+ # # If none of the hosts or paths match the HTTP request in the Ingress objects, the traffic is
723
+ # # routed to your default backend. Not typically required, unless metacatui
724
+ # # Content included here under `defaultBackend` will be added to the ingress definition under
725
+ # # `spec.defaultBackend'; for example:
726
+ # #
727
+ # # spec:
728
+ # # defaultBackend:
729
+ # # service:
730
+ # # name: myrelease-wordpress
731
+ # # port:
732
+ # # number: 80
733
+ # #
734
+ defaultBackend : []
735
+
721
736
# # @param ingress.rewriteRules rewrite rules for the nginx ingress
722
737
# # These rules will be added to the section
723
738
# # metadata:
You can’t perform that action at this time.
0 commit comments