Polish static UI flows

This commit is contained in:
iye
2026-05-28 12:29:12 +08:00
parent 5edfa05369
commit bbe29622c2
45 changed files with 2187 additions and 813 deletions
-15
View File
@@ -1,15 +0,0 @@
# ClusterIssuer for Let's Encrypt automatic certificate generation & renewal
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt-prod
spec:
acme:
server: https://acme-v02.api.letsencrypt.org/directory
email: airlabsv001@gmail.com
privateKeySecretRef:
name: letsencrypt-prod-key
solvers:
- http01:
ingress:
class: traefik
-24
View File
@@ -1,24 +0,0 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: airshelf-ingress
annotations:
kubernetes.io/ingress.class: "traefik"
cert-manager.io/cluster-issuer: "letsencrypt-prod"
traefik.ingress.kubernetes.io/router.middlewares: "default-redirect-https@kubernetescrd"
spec:
tls:
- hosts:
- airshelf.airlabs.art
secretName: airshelf-tls
rules:
- host: airshelf.airlabs.art
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: airshelf-web
port:
number: 80
-8
View File
@@ -1,8 +0,0 @@
apiVersion: traefik.io/v1alpha1
kind: Middleware
metadata:
name: redirect-https
spec:
redirectScheme:
scheme: https
permanent: true
-59
View File
@@ -1,59 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: airshelf-web
labels:
app: airshelf-web
spec:
replicas: 1
selector:
matchLabels:
app: airshelf-web
template:
metadata:
labels:
app: airshelf-web
spec:
imagePullSecrets:
- name: cr-pull-secret
containers:
- name: airshelf-web
image: ${CI_REGISTRY_IMAGE}/airshelf-web:latest
imagePullPolicy: Always
ports:
- containerPort: 80
livenessProbe:
httpGet:
path: /
port: 80
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 3
readinessProbe:
httpGet:
path: /
port: 80
initialDelaySeconds: 5
periodSeconds: 5
timeoutSeconds: 3
failureThreshold: 3
resources:
requests:
memory: "32Mi"
cpu: "20m"
limits:
memory: "128Mi"
cpu: "150m"
---
apiVersion: v1
kind: Service
metadata:
name: airshelf-web
spec:
selector:
app: airshelf-web
ports:
- protocol: TCP
port: 80
targetPort: 80