Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing volumeMounts after Helm install #415

Closed
runzhliu opened this issue Nov 26, 2021 · 0 comments · Fixed by #414
Closed

Missing volumeMounts after Helm install #415

runzhliu opened this issue Nov 26, 2021 · 0 comments · Fixed by #414
Assignees

Comments

@runzhliu
Copy link
Contributor

Description

We find the wrong render result by the origin template the values with volumeMounts filled.

# Source: Values.yaml
...
hooks:
  image:
...
containers: []
volumes: [{"name":"zk-persistent-storage","persistentVolumeClaim":{"claimName":"zk-pv-claim"}}]
volumeMounts: [{"mountPath":"/var/lib/zk","name":"zk-persistent-storage"}]
initContainers: []
---
# Source: zookeeper/templates/zookeeper.yaml
apiVersion: "zookeeper.pravega.io/v1beta1"
kind: "ZookeeperCluster"
metadata:
  name: zookeeper
  namespace: default
 ...
  # missing volumeMounts
  volumes:
    - name: zk-persistent-storage
      persistentVolumeClaim:
        claimName: zk-pv-claim
    - mountPath: /var/lib/zk
      name: zk-persistent-storage

Importance

Location

charts/zookeeper/templates/

Suggestions for an improvement

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants