Closed atheo89 closed 6 months ago
To install the R language and RStudio IDE on RHEL, it is necessary to enable the codeready-builder-for-rhel-9-rpms
and EPEL
repositories. These repositories provide the additional packages required for a successful installation, a way to achieve this is by ensuring entitlements are granted to access the subscription-manager.
Since, we are building our images on OCP-CI it was necessary to investigate how we can pass the credentials as secrets while the build time.
After a investigation on if it is feasible to pass credentials as secrets on buildtime, shows that the ocp-ci utilizes the dockerStrategy for image builds. This poses a significant obstacle as it restricts the ability to pass secrets as config maps via build_args. Referencing a pertinent link, it's noted that there are no plans to implement this feature within the specified strategy: https://access.redhat.com/solutions/4501551. In the documentation for the ocp-ci platform, they outline the utilization of secrets within a job, which, in our case, is not applicable. Our specific requirement involves passing the secret during the buildtime of the image, rather than executing it within the container.
Jira for the user-facing documentation work: https://issues.redhat.com/browse/RHODS-12941
This work is complete now. Thanks 👍
Incorporate RStudio workbench to RHOAI
Acceptance criteria:
https://github.com/red-hat-data-services/notebooks/pull/95
JIRA: https://issues.redhat.com/browse/RHOAIENG-314