Add CI/CD workflows and Kubernetes configurations for deployment
Some checks failed
CI - Build and Push / Build and Push Docker Image (push) Failing after 11s
Some checks failed
CI - Build and Push / Build and Push Docker Image (push) Failing after 11s
This commit is contained in:
25
script/k8s/ingress.yaml
Normal file
25
script/k8s/ingress.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user