helm: allow specifying an ingress object store port to override default
The default object store ingress port will be set to the
securePort (if set), or the gateway port field. To override
that default, a new port field can be set on the ingress.
Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 5ad38cb579)
This commit is contained in:
1 parent
39466db280
commit
514ee798b7
2 files changed
+4
-1
No files matched your search
@@ -19,7 +19,7 @@ spec:
|
||||
service:
|
||||
name: rook-ceph-rgw-{{ .name }}
|
||||
port:
|
||||
number: {{ .spec.gateway.securePort | default .spec.gateway.port }}
|
||||
number: {{ .ingress.port | default .spec.gateway.securePort | default .spec.gateway.port }}
|
||||
pathType: {{ .ingress.host.pathType | default "Prefix" }}
|
||||
{{- with .ingress.ingressClassName }}
|
||||
ingressClassName: {{ . }}
|
||||
|
||||
@@ -627,6 +627,9 @@ cephObjectStores:
|
||||
ingress:
|
||||
# Enable an ingress for the ceph-objectstore
|
||||
enabled: false
|
||||
# The ingress port by default will be the object store's "securePort" (if set), or the gateway "port".
|
||||
# To override those defaults, set this ingress port to the desired port.
|
||||
# port: 80
|
||||
# annotations: {}
|
||||
# host:
|
||||
# name: objectstore.example.com
|
||||
|
||||
Reference in new issue
Block a user