File tree 2 files changed +29
-17
lines changed
2 files changed +29
-17
lines changed Original file line number Diff line number Diff line change 62
62
{{- end }}
63
63
{{- end }}
64
64
rules :
65
- {{- if .Values.ingress.hosts }}
66
- {{- range .Values.ingress.hosts }}
67
- - host : {{ .host | quote }}
68
- http :
69
- paths :
70
- {{- range .paths }}
71
- - path : {{ .path }}
72
- pathType : {{ .pathType }}
73
- backend :
74
- service :
75
- name : {{ $fullName }}-hl
76
- port :
77
- number : 8080
78
- {{- end }}
79
- {{- end }}
80
- {{- else }}
65
+ {{- if and (.Values.ingress.rules) (ne (len .Values.ingress.rules) 0) }}
66
+ {{- .Values.ingress.rules | toYaml | nindent 4 }}
67
+ {{- else }}
81
68
- host : {{ $serverName }}
82
69
http :
83
70
paths :
98
85
port :
99
86
number : 80
100
87
{{- end }}
101
- {{- end }}
88
+ {{- end }}
102
89
{{- end }}
Original file line number Diff line number Diff line change @@ -778,6 +778,31 @@ ingress:
778
778
# #
779
779
tls : []
780
780
781
+ # # @param ingress.rules The Ingress rules can be defined here or left blank to be auto-populated
782
+ # # based on the metacat.server.name value. If defining rules here, they will be copied verbatim
783
+ # # to the ingress definition. For schema guidance, see:
784
+ # # https://kubernetes.io/docs/concepts/services-networking/ingress/
785
+ # # Example:
786
+ # # - host: goa.nceas.ucsb.edu
787
+ # # http:
788
+ # # paths:
789
+ # # - backend:
790
+ # # service:
791
+ # # name: metacatgoa-hl
792
+ # # port:
793
+ # # number: 8080
794
+ # # path: /goa
795
+ # # pathType: Prefix
796
+ # # - backend:
797
+ # # service:
798
+ # # name: metacatgoa-metacatui
799
+ # # port:
800
+ # # number: 80
801
+ # # path: /
802
+ # # pathType: Prefix
803
+ # #
804
+ rules : []
805
+
781
806
# # @param ingress.d1CaCertSecretName Name of Secret containing DataONE CA certificate chain
782
807
# # For DataONE Replication -- mutual authentication with x509 client-side certs.
783
808
# # Also see `metacat.dataone.certificate.fromHttpHeader.enabled`
You can’t perform that action at this time.
0 commit comments