helm-charts icon indicating copy to clipboard operation
helm-charts copied to clipboard

Error when trying to mount an extra volume in statefulset

Open vuldin opened this issue 1 year ago • 1 comments

What happened?

Using the following values.yaml:

statefulset:
  extraVolumes: |-
    - name: redpanda-io-config
      configMap:
        name: redpanda-io-config
  extraVolumeMounts: |-
    - name: redpanda-io-config
      mountPath: /etc/redpanda-io-config
  additionalRedpandaCmdFlags:
    - "--io-properties-file=/etc/redpanda-io-config/io-config.yaml"

And the following command:

helm upgrade --install redpanda redpanda --repo https://charts.redpanda.com -n redpanda --wait --timeout 2h --create-namespace -f values.yaml --dry-run --debug

Results in the following error: output.log

What did you expect to happen?

Should have not failed

How can we reproduce it (as minimally and precisely as possible)?. Please include values file.

See details above.

Anything else we need to know?

No response

Which are the affected charts?

Redpanda

Chart Version(s)

chart v5.9.4

Cloud provider

none

JIRA Link: K8S-375

vuldin avatar Sep 23 '24 16:09 vuldin

This seems to have started in 5.9.2 (doesn't happen in 5.9.1).

vuldin avatar Sep 23 '24 16:09 vuldin