AWX + Minikube+/etc/tower/settings.py edit (ro)

How to change awx’s CSRF to false?

I know it’s in /etc/tower/settings.py .

The default directory is /var/lib/awx/projects, and I want to change this to a different directory.

However, there is an issue because I installed it with kubernates like the guide following.

https://github.com/ansible/awx/blob/devel/INSTALL.md

Even though I enter the container with root privileges, I can not edit settings.py because settings.py is READ ONLY.

When I see kubectl describe pod, I guess it is because the following files are mounted.

/etc/tower/settings.py from awx-settings (ro,path=“settings.py”)

Is there any other way? Please help me solve it.

i have used configmap with changes and mounted the same in .

Hello Experts.
I managed to add the CSRF token as httponly in setting.py file , But the flag ( httponly) is still off for cookies CSRF userloggedin and currentuser token.

there is no httponly flag set in config js file .

Can anyone help.

Just need to make the httponly flag up for 3 cookies(CSRF userloggedin and currentuser token) in AWX 19.4

Thanks in advance :slight_smile:

Issue raised.
https://github.com/ansible/awx/issues/11479