redaction (#1)
Add the redacted source file for demo purposes Reviewed-on: https://source.michaeldileo.org/michael_dileo/Keybard-Vagabond-Demo/pulls/1 Co-authored-by: Michael DiLeo <michael_dileo@proton.me> Co-committed-by: Michael DiLeo <michael_dileo@proton.me>
This commit was merged in pull request #1.
This commit is contained in:
34
manifests/infrastructure/harbor-registry/manual-ingress.yaml
Normal file
34
manifests/infrastructure/harbor-registry/manual-ingress.yaml
Normal file
@@ -0,0 +1,34 @@
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: harbor-registry-ingress
|
||||
namespace: harbor-registry
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-production
|
||||
# Harbor-specific settings
|
||||
nginx.ingress.kubernetes.io/proxy-body-size: "0"
|
||||
nginx.ingress.kubernetes.io/proxy-read-timeout: "600"
|
||||
nginx.ingress.kubernetes.io/proxy-send-timeout: "600"
|
||||
# SSL and redirect handling
|
||||
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
|
||||
nginx.ingress.kubernetes.io/ssl-redirect: "false"
|
||||
nginx.ingress.kubernetes.io/proxy-ssl-verify: "false"
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
tls:
|
||||
- hosts:
|
||||
- <YOUR_REGISTRY_URL>
|
||||
secretName: <YOUR_REGISTRY_URL>-tls
|
||||
rules:
|
||||
- host: <YOUR_REGISTRY_URL>
|
||||
http:
|
||||
paths:
|
||||
# Harbor - route to HTTPS service to avoid internal redirects
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: harbor-registry
|
||||
port:
|
||||
number: 443
|
||||
Reference in New Issue
Block a user