46 lines
1.1 KiB
YAML
46 lines
1.1 KiB
YAML
# ------------------------------------------------------------------------------
|
|
# HTTPRoute — jarvis (Hermes Agent) via Cilium Gateway
|
|
# Hostnames: jarvis.local.mk-labs.cloud
|
|
# ------------------------------------------------------------------------------
|
|
apiVersion: cert-manager.io/v1
|
|
kind: Certificate
|
|
metadata:
|
|
name: jarvis-tls
|
|
namespace: jarvis
|
|
spec:
|
|
secretName: jarvis-tls
|
|
issuerRef:
|
|
name: letsencrypt-prod
|
|
kind: ClusterIssuer
|
|
dnsNames:
|
|
- jarvis.local.mk-labs.cloud
|
|
---
|
|
apiVersion: gateway.networking.k8s.io/v1
|
|
kind: HTTPRoute
|
|
metadata:
|
|
name: jarvis
|
|
namespace: jarvis
|
|
annotations:
|
|
external-dns.alpha.kubernetes.io/hostname: jarvis.local.mk-labs.cloud
|
|
external-dns.alpha.kubernetes.io/target: "10.1.71.90"
|
|
spec:
|
|
parentRefs:
|
|
- group: gateway.networking.k8s.io
|
|
kind: Gateway
|
|
name: fastpass-gateway
|
|
namespace: gateway
|
|
sectionName: https
|
|
hostnames:
|
|
- jarvis.local.mk-labs.cloud
|
|
rules:
|
|
- matches:
|
|
- path:
|
|
type: PathPrefix
|
|
value: /
|
|
backendRefs:
|
|
- group: ""
|
|
kind: Service
|
|
name: jarvis
|
|
port: 8642
|
|
weight: 1
|