My team creates a lot of AWX instances in test environments where the requirement for persistence is absent. The test instances are automatically provisioned and testing is performed and. Using persistent volumes slows down instance provisioning (PV provisioning is rather slow in our environment) and relatively expensive (we are consistently banging against our quota for persistent volume mounts). Is it possible to provision the Postgres and Redis to use ephemeral storage?
We used to only do empty dir in older versions but we moved away because as soon as the containers go down the DB is gone. But that sounds like what you want. In the postgres.yml.j2 file on line 111 we would have to add a conditional to allow for non-PVC. PRs welcome or feel free to open an issue in the awx-operator repository.