39 lines
1.3 KiB
YAML
39 lines
1.3 KiB
YAML
# Apply: kubectl apply -f manifests/home-services/alexa-bridge-public-ingress.yaml
|
|
# Delete: kubectl delete -f manifests/home-services/alexa-bridge-public-ingress.yaml
|
|
# Description: Let's Encrypt TLS certificate and public IngressRoute for
|
|
# alexa-bridge at alexa-bridge.nik4nao.com, so Alexa's servers can reach the
|
|
# skill endpoint over the internet. This is a separate cert/issuer from
|
|
# alexa-bridge-tls in certs.yaml - that one is the internal-ca-issuer client
|
|
# cert alexa-bridge uses to dial ha-gateway over mTLS; this one is the
|
|
# publicly-trusted cert Alexa itself requires for the inbound leg. Modeled
|
|
# directly on manifests/gitea/gitea-public-ingress.yaml's shape.
|
|
apiVersion: cert-manager.io/v1
|
|
kind: Certificate
|
|
metadata:
|
|
name: alexa-bridge-nik4nao-tls
|
|
namespace: home-services
|
|
spec:
|
|
secretName: alexa-bridge-nik4nao-tls
|
|
issuerRef:
|
|
name: letsencrypt-prod
|
|
kind: ClusterIssuer
|
|
dnsNames:
|
|
- alexa-bridge.nik4nao.com
|
|
---
|
|
apiVersion: traefik.io/v1alpha1
|
|
kind: IngressRoute
|
|
metadata:
|
|
name: alexa-bridge-public
|
|
namespace: home-services
|
|
spec:
|
|
entryPoints:
|
|
- websecure
|
|
routes:
|
|
- match: Host(`alexa-bridge.nik4nao.com`)
|
|
kind: Rule
|
|
services:
|
|
- name: alexa-bridge
|
|
port: 8080
|
|
tls:
|
|
secretName: alexa-bridge-nik4nao-tls
|