Using base-chart
base-chart is published as an OCI Helm chart. Install it directly or add it as a dependency inside your own chart.
Option A — install directly
helm install my-app oci://ghcr.io/my-github-repo/helm/base-chart \
--version 1.2.0 \
-f values.yaml
Option B — add as a dependency
In your Chart.yaml:
dependencies:
- name: base-chart
version: "1.2.0"
repository: oci://ghcr.io/my-github-repo/helm
alias: app # optional — if set, wrap all values under the alias key
helm dependency update
helm install my-release . -f values.yaml
If you used alias: app, your values.yaml must nest everything under app:
app:
deployments:
- name: my-api
image:
repository: my-org/my-api
tag: "1.0.0"
Without an alias, write values at the top level as shown in the examples below.
Upgrade
helm upgrade my-app oci://ghcr.io/my-github-repo/helm/base-chart \
--version 1.2.0 \
-f values.yaml
Uninstall
helm uninstall my-app
Minimal values.yaml
deployments:
- name: my-api
image:
repository: my-org/my-api
tag: "1.0.0"
service:
enabled: true
port: 8080
See the values reference for all available options, or use the UI configurator to build the file interactively.