Ability to mount more than one Git credential secret #18721
Labels
area/devworkspace-operator
engine/devworkspace
Issues related to Che configured to use the devworkspace controller as workspace engine.
kind/task
Internal things, technical debt, and to-do tasks to be performed.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
severity/P2
Has a minor but important impact to the usage or development of the system.
Is your task related to a problem? Please describe.
Right now, having Git credential secret in form:
will result in file mount to each container:
/home/theia/.git-credentials/credentials
But if we want to have more than one credential secret, for example, one for GitHub and one for Bitbucket,
secret provisioner will fail. We need to fix that situation.
Describe the solution you'd like
Right now we're not managing content of the files, we just creating volume mount poining to the secret, which will be mount as file on FS by Kubernetes.
So
GitCredentialStorageFileSecretApplier
should be reworked and allow multiple secrets to be merged into single credential file which will lools like:/home/theia/.git-credentials/credentials
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: