Initial commit: static landing page with CI/CD
build / build-and-push (push) Failing after 1s

This commit is contained in:
nick
2026-07-12 05:53:08 +08:00
commit bc816c0925
5 changed files with 112 additions and 0 deletions
+57
View File
@@ -0,0 +1,57 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: landing
namespace: landing
spec:
replicas: 1
selector:
matchLabels:
app: landing
template:
metadata:
labels:
app: landing
spec:
containers:
- name: landing
image: gitea.niq-dev.com/gitea_admin/landing:latest
ports:
- containerPort: 80
---
apiVersion: v1
kind: Service
metadata:
name: landing
namespace: landing
spec:
selector:
app: landing
ports:
- port: 80
targetPort: 80
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: landing
namespace: landing
annotations:
cert-manager.io/cluster-issuer: "letsencrypt-prod"
spec:
ingressClassName: traefik
tls:
- hosts:
- www.niq-dev.com
secretName: landing-tls
rules:
- host: www.niq-dev.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: landing
port:
number: 80