28754bd410
- ADR 0004: commit-status-periaate (natiivi riittää, API vain custom-linkkiin)
- ADR 0005: provider & consumer -malli (ci-engine.yml lukittu rajapinta)
- docs/design-rationale: uusi periaate 1 "Hyödynnä natiivia",
periaate 2 korjattu (API vain tarvittaessa),
periaate 6 (MinIO→git-pages), teknologiavalinnat poistettu
- docs/config-model: isContainerBuild→isArtifactBuild, Docker-labelit poistettu
- docs/ai-context: monorepo-kuvaus (git-pages oma kokonaisuus, ohut rajapinta)
- docs/architecture, tech-stack, report-hosting, shared-scripts, workflows:
MinIO→git-pages, provider agnostinen build-ekosysteemeille
- docs/adr/: ADRt siirretty decisions/→adr/
- git-pages/docs: retention-osiot päivitetty CronJob→sidecar+HTTP API,
URL-kaava korjattu (reports/{sha8}/)
- git-pages/docs/implementation-notes: uusi (storage v2, Host-header,
whiteout, .init, PATCH+directoryt)
- git-pages/templates/init-job.yaml: post-install init (.index)
- scripts/publish-git-pages.sh: PUT-fallback poistettu (init hoitaa),
palauttaa BASE URL ilman index.html
68 lines
1.3 KiB
YAML
68 lines
1.3 KiB
YAML
# Constants — shared across all instances. Do not put per-env values here.
|
|
# Per instance: use {env}-values.yaml (e.g. dev-values.yaml):
|
|
# helm install git-pages ./git-pages -n git-pages -f dev-values.yaml
|
|
|
|
nameOverride: ""
|
|
fullnameOverride: ""
|
|
|
|
image:
|
|
repository: codeberg.org/git-pages/git-pages
|
|
tag: "0.9.1"
|
|
pullPolicy: IfNotPresent
|
|
|
|
pagesInsecure: true
|
|
|
|
service:
|
|
type: ClusterIP
|
|
port: 3000
|
|
|
|
persistence:
|
|
enabled: true
|
|
accessMode: ReadWriteOnce
|
|
|
|
resources:
|
|
requests:
|
|
cpu: 50m
|
|
memory: 128Mi
|
|
limits:
|
|
cpu: 1000m
|
|
memory: 512Mi
|
|
|
|
ingress:
|
|
enabled: true
|
|
entryPoints:
|
|
websecure: websecure
|
|
web: web
|
|
|
|
certificate:
|
|
enabled: true
|
|
|
|
# Post-install init job: creates placeholder site so .index exists.
|
|
# Consumers can use PATCH directly without PUT fallback.
|
|
initJob:
|
|
enabled: true
|
|
image:
|
|
repository: debian
|
|
tag: bookworm-slim
|
|
pullPolicy: IfNotPresent
|
|
|
|
# Optional Helm-managed secret — prefer manual create (see docs/secrets.md).
|
|
publishAuth:
|
|
create: false
|
|
htpasswdUsers: ""
|
|
|
|
retention:
|
|
enabled: false
|
|
mode: sidecar
|
|
schedule: "0 3 * * *"
|
|
image:
|
|
repository: debian
|
|
tag: bookworm-slim
|
|
pullPolicy: IfNotPresent
|
|
giteaApiUrl: ""
|
|
rules:
|
|
branches:
|
|
default:
|
|
maxAgeDays: 90
|
|
keepMin: 5
|