ChainSafe / ChainSafe/lodestar

Consider improving the behaviour of importing keystores from ConfigMap volume which is always mounted read-only.

Open
#7,367 5 comments 0 reactions 1 assignee Claimed by @eminence-technology View on GitHub
good first issue help wanted meta-feature-request
Dominant language
TypeScript
Stars
1.4k
Forks
483
Avg merge
1d 16h
Merged PRs (30d)
150

Description

### Problem description

https://github.com/ChainSafe/lodestar/issues/7362
https://kubernetes.io/docs/concepts/storage/volumes/#:~:text=A%20ConfigMap%20is%20always%20mounted,other%20character%20encodings%2C%20use%20binaryData%20.

The validator fails to start when it runs as k8s STS and tries to import keystores from ConfigMap volume which is always mounted read-ony.

### Solution description

As you can see, the ConfigMap is mounted on different path. I don't see any reason why it wouldn't work from it's current working directory which is different from the ConfigMap mount point.

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.