diff --git a/deploy/charts/rook-ceph-cluster/templates/cephobjectstore-ingress.yaml b/deploy/charts/rook-ceph-cluster/templates/cephobjectstore-ingress.yaml index c86ed9ba3..693c2ce16 100644 --- a/deploy/charts/rook-ceph-cluster/templates/cephobjectstore-ingress.yaml +++ b/deploy/charts/rook-ceph-cluster/templates/cephobjectstore-ingress.yaml @@ -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: {{ . }} diff --git a/deploy/charts/rook-ceph-cluster/values.yaml b/deploy/charts/rook-ceph-cluster/values.yaml index 865dea147..02d9e77a0 100644 --- a/deploy/charts/rook-ceph-cluster/values.yaml +++ b/deploy/charts/rook-ceph-cluster/values.yaml @@ -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