V2EX-Gitlab 社区版,邮件通知的网站地址怎么改成自定义的?

dunhanson:

我是用 k8s 部署的 gitlab,gitlab 自带的 nginx 是关闭的

clone 地址已经修改( Admin Area > General > Custom Git clone URL for HTTP(S))

---
apiVersion: v1
kind: Service
metadata:
  name: gitlab
  namespace: default
spec:
  clusterIP: None
  selector:
    app: gitlab
  ports:
    - protocol: TCP
      port: 80
      targetPort: 80
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: gitlab
annotations:
 nginx.ingress.kubernetes.io/proxy-body-size: "50m"
spec:
  tls:
  - hosts:
      - gitlab.******.com
    secretName: gitlab
  rules:
  - host: gitlab.******.com
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: gitlab
            port:
              number: 80

2VoY3q.png

本文地址:https://niul.net/44.html
牛C网:https://niuc.net
零九导航:https://09.gay
牛C网导航:https://9i1.net
福利APP中心:https://app.niuc.net
福利APP合集:https://niuc.net/share/1678.html
THE END
分享
二维码
< <上一篇
下一篇>>