40 lines
755 B
YAML
Executable File
40 lines
755 B
YAML
Executable File
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: storage
|
|
namespace: ops
|
|
labels:
|
|
app: minio
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
|
haproxy.org/proxy-body-size-limit: "1g"
|
|
spec:
|
|
ingressClassName: haproxy
|
|
tls:
|
|
- hosts:
|
|
- minio.ntwl.xyz
|
|
- storage.ntwl.xyz
|
|
secretName: minio-tls
|
|
rules:
|
|
- host: minio.ntwl.xyz
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: minio
|
|
port:
|
|
number: 9090
|
|
|
|
- host: storage.ntwl.xyz
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: minio
|
|
port:
|
|
number: 9000
|