Initial commit: Complete NodeJS-native setup
- Migrated from Python pre-commit to NodeJS-native solution - Reorganized documentation structure - Set up Husky + lint-staged for efficient pre-commit hooks - Fixed Dockerfile healthcheck issue - Added comprehensive documentation index
This commit is contained in:
29
k8s/ingress.yaml.template
Normal file
29
k8s/ingress.yaml.template
Normal file
@@ -0,0 +1,29 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: ${APP_NAME}-ingress
|
||||
labels:
|
||||
app: ${APP_NAME}
|
||||
component: frontend
|
||||
annotations:
|
||||
# Add SSL redirect if using HTTPS
|
||||
# nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
||||
# cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
# Uncomment for HTTPS with cert-manager
|
||||
# tls:
|
||||
# - hosts:
|
||||
# - ${INGRESS_HOST}
|
||||
# secretName: frontend-tls
|
||||
rules:
|
||||
- host: ${INGRESS_HOST}
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: ${APP_NAME}-frontend-service
|
||||
port:
|
||||
number: 80
|
||||
Reference in New Issue
Block a user