blob: 5d3301e331be21b14423d166f5d4b31ad3d11967 [file] [log] [blame]
garciadeblas8d8cd992024-05-21 16:04:14 +02001#######################################################################################
2# Copyright ETSI Contributors and Others.
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
13# implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16#######################################################################################
17
18apiVersion: networking.k8s.io/v1
19kind: Ingress
20metadata:
21 name: minio-console-ingress
22 namespace: minio-operator
23spec:
24 ingressClassName: nginx
25 rules:
26 - host: ${MINIO_INGRESS_CONSOLE_HOST}
27 http:
28 paths:
29 - path: /
30 pathType: Prefix
31 backend:
32 service:
33 name: console
34 port:
35 number: ${MINIO_CONSOLE_HTTP_PORT}