-
Notifications
You must be signed in to change notification settings - Fork 142
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
kubernetes.core collection dependency #537
Comments
The openshift-clients package is required for the kubectl connection plugin and the kustomize lookup plugin. |
So that means that we need to pay a OpenShift Subscription to use this collection in an Ansible Execution Environment ? |
If you are building a custom EE, you just need to ensure that the |
Yes that's correct.
This is crap... I'll open a RH case to address this. |
I just wanted to confirm I encountered this issue as well using This is a significant issue for the AAP 2.3 EE's which do not have a public repo. @gravesm are you able to find a peer on that team that can provide insight? |
This can be circumvented by Downloading the RPM manually and installing it. This required a redhat login it seems but you dont need to register your ubi image. Adjust the Version to your needs.
|
This issue is causing us a number of headaches currently. We do not currently have an OpenShift subscription, and have no interest or requirement in using OpenShift, yet are unable to build an Ansible EE with the kubernetes.core collection in based on the RHEL UBIs because of this requirement. |
for anyone who has been spending way to much time fighting this. ee.yaml
requirements.yaml
|
@itewk didnt seem to work for me.....
|
I can confirm that @itewk solution worked for me using the RHEL UBI9. Agree with other this should still not be necessary but in the interest in getting work done, I'll use it for now. |
SUMMARY
kubernetes.core
requiresopenshift-clients
package to be installed inRHEL8
orRHEL9
[1]Why do we need such package which is not part of UBI (universal base images)?
When trying to create a custom ansible EE that requires kubernetes.core, I would need to enable other yum/dnf repositories that are not part of UBI. It does not make it straight forward and would require me to modify a generated Containerfile to enable such repos.
On the other hand, I would like to enable the ansible EE builds to happen on OpenShift and since most of my customers are working on a disconnected environment, I would need to integrate Satellite to OpenShift [2] which is once again an extra step just to have a simple ansible EE with
kubernetes.core
.[1] https://github.com/ansible-collections/kubernetes.core/blob/main/bindep.txt
[2] https://docs.openshift.com/container-platform/4.11/cicd/builds/running-entitled-builds.html#running-builds-with-red-hat-satellite-subscriptions
ISSUE TYPE
COMPONENT NAME
ansible-builder
The text was updated successfully, but these errors were encountered: