Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

extraVolumes & extraVolumesMounts not working #143

Closed
jamestutton opened this issue May 31, 2019 · 2 comments
Closed

extraVolumes & extraVolumesMounts not working #143

jamestutton opened this issue May 31, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@jamestutton
Copy link

jamestutton commented May 31, 2019

Chart version:7.1.0

Kubernetes version:v1.13.5

Kubernetes provider:Rancher RKE

Helm Version: Unsure inbuilt in Rancher

Values.yaml:

---
extraVolumes: 
  - name: extras
    emptyDir: {}

extraVolumeMounts:
  - name: extras
    mountPath: /usr/share/extras
    readOnly: true

Describe the bug:

Helm template failed. Error: render error in "elasticsearch/templates/statefulset.yaml": template: elasticsearch/templates/statefulset.yaml:104:14: executing "elasticsearch/templates/statefulset.yaml" at <.Values.extraVolumes>: wrong type for value; expected string; got []interface {} : exit status 1

Steps to reproduce:

Attempt to deloy with defaults and the above answers set

Expected behavior:

Should merge volume settings into the statefulset.yaml and deploy

Any additional context:

@Crazybus
Copy link
Contributor

Crazybus commented Jun 3, 2019

Thanks for reporting this! I'm going to link the draft PR where you already started working on fixing it: #144

@jmlrt jmlrt added the bug Something isn't working label Sep 23, 2019
@jmlrt
Copy link
Member

jmlrt commented Oct 1, 2019

Closing this issue since extraVolumes was fixed in #245.

@jmlrt jmlrt closed this as completed Oct 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants