Files
n8n-workflows/k8s/ingress.yaml
Sahiix@1 3c0a92c460 ssd (#10)
* ok

ok

* Refactor README for better structure and readability

Updated README to improve formatting and clarity.

* Initial plan

* Initial plan

* Initial plan

* Initial plan

* Comprehensive deployment infrastructure implementation

Co-authored-by: sahiixx <221578902+sahiixx@users.noreply.github.com>

* Add comprehensive deployment infrastructure - Docker, K8s, CI/CD, scripts

Co-authored-by: sahiixx <221578902+sahiixx@users.noreply.github.com>

* Add files via upload

* Complete deployment implementation - tested and working production deployment

Co-authored-by: sahiixx <221578902+sahiixx@users.noreply.github.com>

* Revert "Implement comprehensive deployment infrastructure for n8n-workflows documentation system"

* Update docker-compose.prod.yml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update scripts/health-check.sh

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: dopeuni444 <sahiixofficial@wgmail.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-29 09:31:37 +04:00

59 lines
1.6 KiB
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: workflows-docs-ingress
namespace: n8n-workflows
labels:
app.kubernetes.io/name: n8n-workflows-docs
annotations:
kubernetes.io/ingress.class: "nginx"
cert-manager.io/cluster-issuer: "letsencrypt-prod"
nginx.ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/ssl-redirect: "true"
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
nginx.ingress.kubernetes.io/use-regex: "true"
nginx.ingress.kubernetes.io/proxy-body-size: "10m"
nginx.ingress.kubernetes.io/rate-limit-rps: "100"
spec:
tls:
- hosts:
- workflows.yourdomain.com
secretName: workflows-docs-tls
rules:
- host: workflows.yourdomain.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: workflows-docs-service
port:
number: 80
---
# Alternative Ingress for development/staging
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: workflows-docs-ingress-dev
namespace: n8n-workflows
labels:
app.kubernetes.io/name: n8n-workflows-docs
annotations:
kubernetes.io/ingress.class: "nginx"
nginx.ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/auth-type: basic
nginx.ingress.kubernetes.io/auth-secret: basic-auth
nginx.ingress.kubernetes.io/auth-realm: 'Authentication Required - N8N Workflows Docs'
spec:
rules:
- host: workflows-dev.yourdomain.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: workflows-docs-service
port:
number: 80