Files
homelab/infra/octopusdeploy/templates/ingress.yaml
2025-04-20 11:20:46 -05:00

33 lines
645 B
YAML

apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: octopus-ingress
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
spec:
entryPoints:
- websecure
routes:
- match: Host(`octopus.durp.info`) && PathPrefix(`/`)
kind: Rule
services:
- name: octopusdeploy-octopus-deploy
port: 80
tls:
secretName: octopus-tls
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: octopus-tls
spec:
secretName: octopus-tls
issuerRef:
name: vault-issuer
kind: ClusterIssuer
commonName: "octopus.durp.info"
dnsNames:
- "octopus.durp.info"