Files
Authenticator/script/k8s/ingress.yaml
cialloo 38ca0cf0e9
Some checks failed
CI - Build and Push / Build and Push Docker Image (push) Failing after 11s
Add CI/CD workflows and Kubernetes configurations for deployment
2025-10-07 10:45:44 +08:00

25 lines
587 B
YAML

# Kubernetes Ingress Configuration for Traefik
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: ${CONTAINER_IMAGE_NAME}
namespace: ${KUBERNETES_NAMESPACE}
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: web
labels:
app: ${CONTAINER_IMAGE_NAME}
spec:
rules:
- host: ${KUBERNETES_INGRESS_HOST}
http:
paths:
- path: /api/authenticator
pathType: Prefix
backend:
service:
name: ${CONTAINER_IMAGE_NAME}
port:
number: 8888