Skip to content

[Improvement] Support custom volumes and volumeMounts in Helm chart #3966

@AbhishekPathania

Description

@AbhishekPathania

Background

Currently, the Amoro Helm chart does not support mounting custom volumes without modifying the chart templates. Users who need to mount additional resources (e.g., Java truststore for SSL certificates, configuration files, secrets) must fork and patch the chart.

Proposal

Add support for volumes and volumeMounts in the Helm chart's values.yaml, allowing users to specify custom volumes declaratively.

Implementation

Modify charts/amoro/templates/_pod.tpl to support:

  • .Values.volumes - custom volume definitions
  • .Values.volumeMounts - custom volume mount points

Example Usage

volumes:
  - name: java-truststore
    secret:
      secretName: java-truststore-secret

volumeMounts:
  - name: java-truststore
    mountPath: /opt/java/truststore
    readOnly: true

Benefits

  • No chart modifications required
  • Supports templating via tpl function
  • Backward compatible
  • Enables SSL/TLS, secrets, config mounting

Type

Improvement

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions