Skip to content

helm install fails due to missing .Values.minio.enabled in values.example.yaml #123

@nilgaar

Description

@nilgaar

Here’s a clear and complete issue you can open:


Title:

Bug report

Describe the bug

Running the example installation command from the documentation:

helm install demo -f values.example.yaml .

fails with the following error:

Error: INSTALLATION FAILED: template: supabase/templates/test/minio.yaml:1:14:
executing "supabase/templates/test/minio.yaml" at <.Values.minio.enabled>:
nil pointer evaluating interface {}.enabled

This happens because the values.example.yaml file does not define a minio section, but the chart templates reference .Values.minio.enabled.

To Reproduce

  1. Clone the repository
  2. Navigate to charts/supabase/
  3. Run helm install demo -f values.example.yaml .
  4. Observe the installation error

Expected behavior

The Helm chart should install successfully using the provided values.example.yaml example file without requiring manual edits.

Screenshots

N/A

System information

  • OS: macOS (M1)
  • Kubernetes: Minikube v1.34.0
  • Helm: v3.16.0

Additional context

The issue can be fixed by adding a default minio section to values.example.yaml, e.g.:

minio:
  enabled: false

Alternatively, the chart could include default values for minio.enabled in values.yaml to prevent this nil pointer error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions