-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Summary
The gitea application is missing a development-values.yaml file (a ConfigValues kind) that would enable headless installations and CI/CD automation via kubectl kots install --config-values.
Context
The storagebox application in this monorepo establishes a "four-way contract" pattern between:
development-values.yaml- ConfigValues for headless installationskots/kots-config.yaml- Admin Console configuration UIkots/<app>-chart.yaml- HelmChart CR with KOTS template functionscharts/<app>/values.yaml- Base Helm chart values
The gitea application currently has items 2-4 but is missing item 1. This was identified during the Bitnami-to-CNPG/Valkey migration (replacing Bitnami PostgreSQL and Redis with CloudNativePG and Valkey).
Proposed File
Create applications/gitea/development-values.yaml:
apiVersion: kots.io/v1beta1
kind: ConfigValues
metadata:
name: gitea-config-values
spec:
values:
internal_postgres_enabled:
default: "1"
value: "1"
postgres_db:
default: "gitea"
value: "gitea"
postgres_user:
default: "gitea"
value: "gitea"
postgres_password:
default: "gitea"
value: "gitea"
postgres_host:
default: "gitea-postgres-rw:5432"
value: "gitea-postgres-rw:5432"
internal_valkey_enabled:
default: "1"
value: "1"
valkey_password:
default: "changeme"
value: "changeme"Benefits
- Enables headless installation for CI/CD pipelines
- Maintains consistency with the storagebox four-way contract pattern
- Documents expected default values in a machine-readable format
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels