You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The community.kubernetes.helm module, unsurprisingly, requires helm. This is not available as a dnf package to be installed, and to get it on a supported OS like RHEL, steps look like this:
In #22 we discussed how we may use
bindep
to process system dependencies, and how this will resolve into a set ofdnf
installs.Importantly, this would have allowed for a consistent set of requirements, consistently using the system package manager.
We have identified our first notable exception.
https://github.com/ansible-collections/community.kubernetes/blob/3e971e0ad36a05a9ad63f442204c2dd59bbf558e/plugins/modules/helm.py#L23
The
community.kubernetes.helm
module, unsurprisingly, requires helm. This is not available as adnf
package to be installed, and to get it on a supported OS like RHEL, steps look like this:https://snapcraft.io/install/helm/rhel
(tl;dr it requires a different package manager,
snap
, so install snap, then install helm)We don't have any need for this particular module in the AWX internals, but we do have a need for
community.kubernetes
, since it's a primary dependency for OpenShift-native job isolation https://github.com/ansible/awx/blob/2385e47ac313110235758c098ca0188fb430f5a6/requirements/collections_requirements.yml#L11How could this possibly be handled?
Even assuming that we can get away with not supporting this,
kubectl
itself may be a problem, see the AWX solution:https://github.com/ansible/awx/blob/89b087ffb61ed5cbad2360329e7e28abd5b6ba25/installer/roles/image_build/templates/Dockerfile.j2#L143-L145
Note that this is a little more than a blind
dnf install
command. So we might need some increased form of flexibility even to support this.The text was updated successfully, but these errors were encountered: