67b07634ae
- app/: Emdash scaffold (Astro 6, node target) with cmses/plugins/pages collections - app/seed/seed.json: WordPress→Emdash parity for kotkanagrilli.fi (~30 entries) - Dockerfile + docker/entrypoint.sh: multi-stage build, single PVC at /app/state - deploy/helm/: chart mirroring emdash-kotkanagrilli (single-replica, sqlite, kotkan) - deploy/fleet-overlay/: HelmRelease/source/image-automation templates for anton-helm-workloads (staging + production) - .woodpecker/container.yaml: arm64 build, three OCI tags per push (immutable 0.1.<pipeline> + floating <branch> + <branch>-latest) - .ddev/: local dev with nginx proxy to emdash on :4321 - README/DEPLOYMENT/ARCHITECTURE/CLAUDE: docs covering the three-repo pipeline (cms-plugins + anton-helm-workloads + Gitea OCI registry)
49 lines
1.3 KiB
YAML
49 lines
1.3 KiB
YAML
apiVersion: helm.toolkit.fluxcd.io/v2
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: cms-plugins-production
|
|
namespace: flux-system
|
|
spec:
|
|
interval: 5m
|
|
chart:
|
|
spec:
|
|
chart: ./deploy/helm
|
|
sourceRef:
|
|
kind: GitRepository
|
|
name: cms-plugins-production
|
|
namespace: flux-system
|
|
reconcileStrategy: Revision
|
|
releaseName: cms-plugins-production
|
|
targetNamespace: kotkan
|
|
install:
|
|
disableWait: true
|
|
remediation:
|
|
retries: 3
|
|
upgrade:
|
|
disableWait: true
|
|
remediation:
|
|
retries: 3
|
|
values:
|
|
existingSecret: cms-plugins-production-secrets
|
|
image:
|
|
# `tag` stays human-readable. The chart prefers `digest` when set
|
|
# and renders `repository@<digest>` — that's what actually pins
|
|
# the pod. Without digest pinning, helm upgrade would see no spec
|
|
# change when CI retags the floating `production` tag.
|
|
tag: production
|
|
digest: "" # {"$imagepolicy": "kotkan:cms-plugins-production:digest"}
|
|
pullPolicy: Always
|
|
ingress:
|
|
host: cms-plugins-production.kotkanagrilli.fi
|
|
nodeSelector:
|
|
kubernetes.io/hostname: kotkan
|
|
persistence:
|
|
size: 10Gi
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 384Mi
|
|
limits:
|
|
cpu: "1"
|
|
memory: 1Gi
|