feat(make-space): add staging/prod overlays and arm64 Tekton CI

This commit is contained in:
dahyeon committed 2026-11-04 20:41:46 +09:00
1 parent 3d4d541d48
commit fcea6e7107
24 files changed
+1117

No files matched your search

@@ -0,0 +1,18 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: make-space-config
data:
APP_ENV: production
HOST: 0.0.0.0
PORT: "3000"
LEPTOS_OUTPUT_NAME: make-space
LEPTOS_SITE_ADDR: 0.0.0.0:3000
LEPTOS_SITE_ROOT: /app/site
LEPTOS_SITE_PKG_DIR: pkg
MONGODB_DB: make_space
MINIO_ENDPOINT: https://s3.dahyeon.us
MINIO_BUCKET: make-space-photos
MAX_PHOTOS_PER_SOURCE: "40"
MAX_PHOTOS_TOTAL: "120"
RUST_LOG: info,server=info,pipeline=info,providers=info
@@ -0,0 +1,9 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: make-space
spec:
template:
metadata:
labels:
app.kubernetes.io/environment: prod
@@ -0,0 +1,21 @@
apiVersion: secrets.infisical.com/v1beta1
kind: InfisicalStaticSecret
metadata:
name: make-space-secrets
spec:
infisicalAuthRef:
name: infisical-auth
namespace: infisical
syncOptions:
refreshInterval: 60s
instantUpdates: false
sources:
- projectId: e60bd852-956a-454c-aaeb-65bd0cf418a9
environmentSlug: prod
secretPath: /
recursive: true
targets:
- name: make-space-secrets
namespace: make-space-prod
kind: Secret
creationPolicy: Owner
@@ -0,0 +1,23 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: make-space
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
spec:
ingressClassName: haproxy
tls:
- hosts:
- make-space.dahyeon.us
secretName: make-space-prod-tls
rules:
- host: make-space.dahyeon.us
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: make-space
port:
number: 3000
@@ -0,0 +1,19 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: make-space-prod
resources:
- ../../base
- configmap.yaml
- infisical-secret.yaml
- ingress.yaml
images:
- name: registry.dahyeon.us/dahyeon/make-space
newName: registry.dahyeon.us/dahyeon/make-space
newTag: prod
replicas:
- name: make-space
count: 1
patches:
- path: deployment-patch.yaml
commonAnnotations:
make-space.dahyeon.us/source-revision: bootstrap