-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Permission and support custom OS rpm packages installation #8537
Comments
It is but that should be something for the users to decide, there are tools users need permissions to install for troubleshooting reasons. |
Is there a workaround for this i need to install kerberos packages in the awx-task container in order to support windows hosts |
@bobby0724 the only solution I found was to create my own custom image based on the AWX docker image. For example, this is how your Dockerfile will look like:
You build and push your new image to a Docker registry and update your deployment configs to download your new custom image. |
What changes need to be made for this to work since I tried to add few additional tools to be installed during docker image build by adding lines to Dockerfile.j2 but those don't appear to be picked up during the install/build process? Thanks |
ISSUE TYPE
SUMMARY
People need to have sudo access or be able to install OS packages inside AWX Kubernetes Pod awx-web container, right now when you try to install something with yum you get the bellow error due to permissions :
Most of the Ansible modules require python pip packages which we can install through custom virtual envs, but many modules do required system packages and not pip, as for example the helm module requires the helm binary to be installed.
Giving sudo access when you access the Pod or define variables for the Kubernetes AWS installer to install custom yum pacakges like we do with custom virtual envs will help people solve this issue.
The text was updated successfully, but these errors were encountered: