Closed Timoses closed 2 years ago
Hello contributor, thanks for submitting a PR for this project!
I am the bot who triggers "standard-CI" builds for this project. As a security measure, I will not run automated tests on PRs that are not from white-listed contributors.
In order to allow automated tests to run, please ask one of the project maintainers to review the code and then do one of the following:
ci test please
on this PR to trigger automated tests for it.ci add to whitelist
on this PR to trigger automated tests for it and also add you to the contributor white-list so that your future PRs will be tested automatically. ( keep in mind this list might be overwritten if the job XML is refreshed, for permanent whitelisting, please follow #3 option )@rgolangh Tested it now. Both variants (file and username/password ENV vars) work.
Please let me know if anything should be adjusted.
This project is no longer maintained, closing.
flex|provisioner|cloud-provider|ovirt-api|ci : Short imperative summary
MOTIVATION \ Credentials should not be written directly to ConfigMaps. Instead Secrets should be used.
MODIFICATION \ This PR implements injection of credentials via a credential's file (specified via
OVIRT_CONNECTION_CREDENTIAL_FILE
environment variable) or directly via environment variables (OVIRT_CONNECTION_USERNAME
andOVIRT_CONNECTION_PASSWORD
).RESULT \ K8s secrets can now be injected into the ovirt containers.
Fixes: https://github.com/oVirt/ovirt-openshift-extensions/issues/138
Changes not yet tested!