Errors in postgres 15 vs working in postgres 13

Hello folks,

Here is my snippet of awx.yml.

postgres_extra_volumes: |
- name: dshm
emptyDir:
medium: Memory
sizeLimit: 2Gi
postgres_extra_volume_mounts: |
- name: dshm
mountPath: /dev/shm

This works good with awx-operator 2.12.2.
Same fails with awx-operator version 2.19.1.

[localhost]: FAILED! => {"changed": false, "msg": "Failed to load resource definition: while parsing a block mapping\n in \"\", line 87, column 15:\n - name: postgres-15\n ^\nexpected , but found ‘’\n in \"\", line 90, column 25:\n - name: dshm\n ^"}

Removing these lines works like charm.

Kindly guide what changed between these operator version leading to error & how to fix this.