27 lines
571 B
YAML
27 lines
571 B
YAML
apiVersion: traefik.io/v1alpha1
|
|
kind: IngressRoute
|
|
metadata:
|
|
name: rustfs-ingress
|
|
namespace: s3storage
|
|
spec:
|
|
entryPoints:
|
|
- websecure
|
|
routes:
|
|
- match: Host(`s3.milasholsting.dk`)
|
|
kind: Rule
|
|
services:
|
|
- name: rustfs-svc
|
|
port: 9000
|
|
sticky:
|
|
cookie:
|
|
httpOnly: true
|
|
name: s3-routing
|
|
secure: true
|
|
- match: Host(`console.s3.milasholsting.dk`)
|
|
kind: Rule
|
|
services:
|
|
- name: rustfs-svc
|
|
port: 9001
|
|
tls:
|
|
secretName: rustfs-tls-cert
|