29 lines
853 B
YAML
29 lines
853 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:
|
|
# Prove DNS-01 issuance with Let's Encrypt's untrusted staging service
|
|
# first. Change this to letsencrypt-prod only after the staging Certificate
|
|
# is Ready; production has strict rate limits for repeated mistakes.
|
|
cert-manager.io/cluster-issuer: letsencrypt
|
|
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
|