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

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

Open
khteh opened this issue Jan 16, 2025 · 1 comment
Labels
good first issue Issues that are suitable for first-time contributors. help wanted The author indicates that additional help is wanted. meta-feature-request Issues to track feature requests.

Comments

@khteh
Copy link

khteh commented Jan 16, 2025

Problem description

#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

@khteh khteh added the meta-feature-request Issues to track feature requests. label Jan 16, 2025
@nflaig
Copy link
Member

nflaig commented Jan 16, 2025

so if I understand the solution you'd like is to write the lock files in current working directory instead of the same directory the keystores are in?

we can probably add a cli flag to configure this

@nflaig nflaig added good first issue Issues that are suitable for first-time contributors. help wanted The author indicates that additional help is wanted. labels Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Issues that are suitable for first-time contributors. help wanted The author indicates that additional help is wanted. meta-feature-request Issues to track feature requests.
Projects
None yet
Development

No branches or pull requests

2 participants