config: serve at paste.mymx.me root instead of /paste prefix
All checks were successful
CI / Lint & Format (push) Successful in 23s
CI / Security Scan (push) Successful in 21s
CI / Advanced Security Tests (push) Successful in 16s
CI / Memory Leak Check (push) Successful in 20s
CI / Security Tests (push) Successful in 26s
CI / Unit Tests (push) Successful in 34s
CI / SBOM Generation (push) Successful in 21s
CI / Build & Push Image (push) Successful in 13s
CI / Harbor Vulnerability Scan (push) Successful in 13s
All checks were successful
CI / Lint & Format (push) Successful in 23s
CI / Security Scan (push) Successful in 21s
CI / Advanced Security Tests (push) Successful in 16s
CI / Memory Leak Check (push) Successful in 20s
CI / Security Tests (push) Successful in 26s
CI / Unit Tests (push) Successful in 34s
CI / SBOM Generation (push) Successful in 21s
CI / Build & Push Image (push) Successful in 13s
CI / Harbor Vulnerability Scan (push) Successful in 13s
Migrate from harbor.mymx.me/paste to dedicated paste.mymx.me host.
This commit is contained in:
@@ -16,7 +16,7 @@ metadata:
|
||||
namespace: flaskpaste
|
||||
data:
|
||||
FLASK_ENV: "production"
|
||||
FLASKPASTE_URL_PREFIX: "/paste"
|
||||
FLASKPASTE_URL_PREFIX: ""
|
||||
FLASKPASTE_EXPIRY_ANON: "432000"
|
||||
FLASKPASTE_MAX_ANON: "3145728"
|
||||
FLASKPASTE_MAX_AUTH: "52428800"
|
||||
@@ -110,24 +110,22 @@ spec:
|
||||
nodePort: 30500
|
||||
type: NodePort
|
||||
---
|
||||
# Optional: Ingress for external access
|
||||
# Uncomment and adjust for your ingress controller
|
||||
# apiVersion: networking.k8s.io/v1
|
||||
# kind: Ingress
|
||||
# metadata:
|
||||
# name: flaskpaste
|
||||
# namespace: flaskpaste
|
||||
# annotations:
|
||||
# nginx.ingress.kubernetes.io/proxy-body-size: "50m"
|
||||
# spec:
|
||||
# rules:
|
||||
# - host: paste.example.com
|
||||
# http:
|
||||
# paths:
|
||||
# - path: /
|
||||
# pathType: Prefix
|
||||
# backend:
|
||||
# service:
|
||||
# name: flaskpaste
|
||||
# port:
|
||||
# number: 80
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: flaskpaste
|
||||
namespace: flaskpaste
|
||||
annotations:
|
||||
traefik.ingress.kubernetes.io/router.middlewares: ""
|
||||
spec:
|
||||
rules:
|
||||
- host: paste.mymx.me
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: flaskpaste
|
||||
port:
|
||||
number: 80
|
||||
|
||||
Reference in New Issue
Block a user