ci: add gitea deploy workflow and k3s manifests with cert-manager tls
Some checks failed
Deploy Noval to K3s / deploy (push) Failing after 1s

This commit is contained in:
2026-03-22 17:28:45 +08:00
parent 098ff4e16d
commit a470739190
8 changed files with 249 additions and 0 deletions

28
k8s/ingress.yaml Normal file
View File

@@ -0,0 +1,28 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: noval-ingress
namespace: noval-roog-code
labels:
app: noval
annotations:
kubernetes.io/ingress.class: "traefik"
cert-manager.io/cluster-issuer: "letsencrypt-prod"
traefik.ingress.kubernetes.io/router.entrypoints: web,websecure
traefik.ingress.kubernetes.io/router.tls: "true"
spec:
rules:
- host: writing-reddot.roog-code.cn
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: noval-service
port:
number: 80
tls:
- hosts:
- writing-reddot.roog-code.cn
secretName: writing-reddot-roog-code-tls