feat(init): 仓库重新初始化

这个提交包含在:
2024-06-03 11:23:10 +08:00 未验证
父节点 31f1336586
当前提交 7ec7c8744b
修改 33 个文件,包含 269 行新增136 行删除
+51
查看文件
@@ -0,0 +1,51 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: gitea-http
namespace: infra-devops
annotations:
nginx.ingress.kubernetes.io/proxy-body-size: "50m"
spec:
ingressClassName: nginx
rules:
- host: git.dev.cm
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: gitea-http
port:
number: 3000
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: gitea-http-static
namespace: infra-devops
annotations:
nginx.ingress.kubernetes.io/use-regex: "true"
nginx.ingress.kubernetes.io/proxy-buffering: "on"
nginx.ingress.kubernetes.io/configuration-snippet: |
proxy_cache cache;
proxy_cache_valid 200 302 1d;
proxy_cache_valid 404 10m;
proxy_cache_valid any 1h;
proxy_cache_use_stale error timeout updating http_404 http_500 http_502 http_503 http_504;
proxy_cache_bypass $http_x_purge;
proxy_ignore_headers Cache-Control;
add_header X-Cache-Status $upstream_cache_status;
spec:
ingressClassName: nginx
rules:
- host: git.dev.cm
http:
paths:
- path: /(assets|avatars)/.*
pathType: ImplementationSpecific
backend:
service:
name: gitea-http
port:
number: 3000