Merge pull request #15416 from rook/mergify/bp/release-1.16/pr-15385
helm: add support for ingress path type (backport #15385)
This commit is contained in:
3 files changed
+4
-2
No files matched your search
@@ -21,7 +21,7 @@ spec:
|
||||
name: rook-ceph-rgw-{{ .name }}
|
||||
port:
|
||||
number: {{ .spec.gateway.securePort | default .spec.gateway.port }}
|
||||
pathType: Prefix
|
||||
pathType: {{ .ingress.host.pathType | default "Prefix" }}
|
||||
{{- else }}
|
||||
serviceName: rook-ceph-rgw-{{ .name }}
|
||||
servicePort: {{ .spec.gateway.securePort | default .spec.gateway.port }}
|
||||
|
||||
@@ -24,7 +24,7 @@ spec:
|
||||
{{- else }}
|
||||
name: http-dashboard
|
||||
{{- end }}
|
||||
pathType: Prefix
|
||||
pathType: {{ .Values.ingress.dashboard.host.pathType | default "Prefix" }}
|
||||
{{- else }}
|
||||
serviceName: rook-ceph-mgr-dashboard
|
||||
{{- if .Values.cephClusterSpec.dashboard.ssl }}
|
||||
|
||||
@@ -431,6 +431,7 @@ ingress:
|
||||
# host:
|
||||
# name: dashboard.example.com
|
||||
# path: "/ceph-dashboard(/|$)(.*)"
|
||||
# pathType: Prefix
|
||||
# tls:
|
||||
# - hosts:
|
||||
# - dashboard.example.com
|
||||
@@ -634,6 +635,7 @@ cephObjectStores:
|
||||
# host:
|
||||
# name: objectstore.example.com
|
||||
# path: /
|
||||
# pathType: Prefix
|
||||
# tls:
|
||||
# - hosts:
|
||||
# - objectstore.example.com
|
||||
|
||||
Reference in new issue
Block a user