# Make a change to AWX Operator

**URL:** <https://forum.ansible.com/t/make-a-change-to-awx-operator/3152>\
**Category:** Get Help\
**Tags:** awx\
**Created:** [January 4, 2024, 8:50am UTC](https://forum.ansible.com/t/make-a-change-to-awx-operator/3152 "2024-01-04T08:50:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Purple](https://avatars.discourse-cdn.com/v4/letter/p/e19b73/32.png) [@Purple](https://forum.ansible.com/u/Purple)\
**Post date:** [January 4, 2024, 8:50am UTC](https://forum.ansible.com/t/make-a-change-to-awx-operator/3152/1 "2024-01-04T08:50:59Z")

</div>

Hi,

I have installed AWX using the instructions here:

[https://ansible.readthedocs.io/projects/awx-operator/en/latest/installation/basic-install.html](https://ansible.readthedocs.io/projects/awx-operator/en/latest/installation/basic-install.html)

However I now need to make a change to the awx-demo.yaml file to allow persistent storage of the projects folder as described here:

[https://ansible.readthedocs.io/projects/awx-operator/en/latest/user-guide/advanced-configuration/persisting-projects-directory.html](https://ansible.readthedocs.io/projects/awx-operator/en/latest/user-guide/advanced-configuration/persisting-projects-directory.html)

However when I make this change and run `kubectl apply -k .` nothing changes.  
I have googled quite a lot and found something about patches but that doesn’t seem to change anything either.

This is my kustomize.yaml file

```auto
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
  # https://github.com/ansible/awx-operator/releases (find the latest release and replace 2.9.0 below with latest)
  - github.com/ansible/awx-operator/config/default?ref=2.9.0
  - awx-deploy.yaml
images:
  - name: quay.io/ansible/awx-operator
    newTag: 2.9.0

namespace: awx2
patches:
  - path: awx-patch.yaml

```

this is my awx-demo.yaml file:

```auto
---
apiVersion: awx.ansible.com/v1beta1
kind: AWX
metadata:
  name: awx2
spec:
  service_type: nodeport
  nodeport_port: 30080
  # I tried adding these lines in after it was applied but it didn't work
  projects_persistence: true
  projects_storage_access_mode: ReadWriteOnce

```

This is the patch file I tried

```auto
---
apiVersion: awx.ansible.com/v1beta1
kind: AWX
metadata:
  name: awx2
spec:
  nodeport_port: 80
  projects_persistence: true
  projects_storage_access_mode: ReadWriteOnce

```

Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![djyasin](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/djyasin/32/114_2.png) [@djyasin](https://forum.ansible.com/u/djyasin)\
**Post date:** [January 5, 2024, 6:18pm UTC](https://forum.ansible.com/t/make-a-change-to-awx-operator/3152/2 "2024-01-05T18:18:27Z")

</div>

Hello @Purple can the logs from when you run the apply command? That will help us identify what may be occurring here.
