29 lines
856 B
YAML
29 lines
856 B
YAML
# Route the public Packwiz URLs through ingress-nginx's shared MetalLB address
|
|
# (10.10.60.12). mc.ahmza.com already resolves to that address on the LAN.
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: mcpacks
|
|
namespace: mcpacks
|
|
annotations:
|
|
# Staging issuance has been verified, so use Let's Encrypt's publicly
|
|
# trusted production service. Production has strict rate limits; test any
|
|
# future hostname or solver change against letsencrypt-staging first.
|
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
|
spec:
|
|
tls:
|
|
- hosts:
|
|
- mc.ahmza.com
|
|
secretName: mcpacks-tls
|
|
rules:
|
|
- host: mc.ahmza.com
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: mcpacks
|
|
port:
|
|
name: http
|