- Gitea Actions workflow: build, push sha-tagged image, apply kustomize, wait for rollout with auto-rollback - Deploy to personal-site namespace, served at jesseinit.dev with TLS - Run container as non-root and bind to 0.0.0.0 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
30 lines
744 B
YAML
30 lines
744 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: jesseinit-portfolio
|
|
labels:
|
|
app: jesseinit-portfolio
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
|
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
|
# Redirect www.jesseinit.dev -> jesseinit.dev
|
|
nginx.ingress.kubernetes.io/from-to-www-redirect: "true"
|
|
spec:
|
|
ingressClassName: nginx
|
|
tls:
|
|
- hosts:
|
|
- jesseinit.dev
|
|
- www.jesseinit.dev
|
|
secretName: personal-site-tls
|
|
rules:
|
|
- host: jesseinit.dev
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: jesseinit-portfolio
|
|
port:
|
|
number: 80
|