Generate Helm charts (app + secrets) with a **complete** values.yaml #8
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
webgrip/invoiceninja-application#8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Ryangr0 on GitHub.
Originally assigned to: @Copilot on GitHub.
Generate Helm charts (app + secrets) with a complete values.yaml — -application
Goal
Create two Helm charts that follow our house style and can be deployed immediately after filling a few required fields:
ops/helm/<stack>-applicationops/secrets/<stack>-application-secrets(install first)High-level requirements
Use an official or actively maintained community chart from Artifact Hub as the dependency whenever possible.
bjw-s/app-template(pinned version).Produce a complete
values.yamlfor the main chart that surfaces every configurable value the dependency exposes—pre-filled with upstream defaults where they exist, and clearly marked placeholders (# REQUIRED) where the operator must provide a value.Keep our image policy:
ops/) invalues.yaml.image.tag: "latest"is allowed and means “current org release”.Deliverables
ops/helm/<stack>-application/Chart.yamlops/helm/<stack>-application/values.yaml(orvalues.yml)ops/secrets/<stack>-application-secrets/Chart.yamlops/secrets/<stack>-application-secrets/values.yaml(orvalues.yml)All files must pass:
Source of truth (no guessing)
Pick dependency on Artifact Hub. Record the repository URL and a pinned version.
bjw-s/app-template(pinned), plus optional Bitnamiredisandmariadb.Pull the exact defaults for that pinned version:
Treat these files as the contract. Mirror schema and nesting exactly.
Main chart (
ops/helm/<stack>-application/Chart.yaml)Main chart (
ops/helm/<stack>-application/values.yaml)Secrets chart (
ops/secrets/<stack>-application-secrets/Chart.yaml)Secrets chart (
ops/secrets/<stack>-application-secrets/values.yaml)Clear operator instructions
Open
ops/helm/<stack>-application/values.yaml.Search for
# REQUIRED(if any remain) and fill placeholders (FQDN, secrets, mail settings, etc.).Ensure Redis/MariaDB are enabled/disabled as needed; verify ports/services match upstream chart defaults.
Install in order:
Acceptance checklist
bjw-s/app-templatefallback is used (all pinned; repo URLs recorded).values.yamlis complete: operator-facing upstream keys present with defaults or# REQUIREDplaceholders; no renamed/invented keys.image.tag: "latest"present only in Helm values, with CI/ops pinning elsewhere.valueFrom.secretKeyRef.helm lintandhelm install --dry-run --debugboth pass.PR notes
Attach:
Artifact Hub link(s) for chosen chart(s) and pinned versions:
bjw-s/app-template— version:<X.Y.Z>(repo:oci://ghcr.io/bjw-s/helm)bitnami/redis— version:<A.B.C>(repo:oci://registry-1.docker.io/bitnamicharts)bitnami/mariadb— version:<D.E.F>(repo:oci://registry-1.docker.io/bitnamicharts)helm show values …outputs for pinned versions (attach as artifact/gist) to prove key names.A short list of any
# REQUIREDfields the operator must fill before install (if any).