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

Label Presets With VolumeMounts Break Multi-Container Jobs #343

Open
Tracked by #297
midnightconman opened this issue Dec 10, 2024 · 0 comments
Open
Tracked by #297

Label Presets With VolumeMounts Break Multi-Container Jobs #343

midnightconman opened this issue Dec 10, 2024 · 0 comments

Comments

@midnightconman
Copy link
Contributor

If you add a label preset (that contains a volume / volume mount) to a prow job with multiple containers, the prow job will try to be created with multiple volume mounts and produce an error. Here is an example of the error we are seeing:

in cluster default: Pod "78d27f82-93de-4613-9425-7c5f9d8de17a" is invalid: spec.containers[2].volumeMounts[3].mountPath:
    Invalid value: "/root/.ssh/id_rsa": must be unique'
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

No branches or pull requests

1 participant