Disable TLS Percona PostgreSQL Operator

Hello,
I have deployed Percona PostgreSQL Cluster into kubernetes cluster 3 node. I want to disable TLS certification on my PostgreSQL cluster but when I set the spec.tlsOnly=false in file cr.yaml, I can’t deploy it. Here is my cr.yaml file:

apiVersion: pgv2.percona.com/v2
kind: PerconaPGCluster
metadata:
  name: cluster1
spec:
  crVersion: 2.3.1
  image: percona/percona-postgresql-operator:2.3.1-ppg16-postgres
  imagePullPolicy: Always
  postgresVersion: 16
  tlsOnly: false
  instances:
  - name: instance1
    replicas: 3

    affinity:
      podAntiAffinity:
        preferredDuringSchedulingIgnoredDuringExecution:
        - weight: 1
          podAffinityTerm:
            labelSelector:
              matchLabels:
                postgres-operator.crunchydata.com/data: postgres
            topologyKey: kubernetes.io/hostname
    dataVolumeClaimSpec:
      accessModes:
      - ReadWriteOnce
      resources:
        requests:
          storage: 1Gi
  proxy:
    pgBouncer:
      replicas: 3
      image: percona/percona-postgresql-operator:2.3.1-ppg16-pgbouncer
      affinity:
        podAntiAffinity:
          preferredDuringSchedulingIgnoredDuringExecution:
          - weight: 1
            podAffinityTerm:
              labelSelector:
                matchLabels:
                  postgres-operator.crunchydata.com/role: pgbouncer
              topologyKey: kubernetes.io/hostname

And here is what i get:

root@master:~/percona-xtradb-cluster-operator/deploy# kubectl apply -f cr.yaml
Error from server (BadRequest): error when creating "cr.yaml": PerconaPGCluster in version "v2" cannot be handled as a PerconaPGCluster: strict decoding error: unknown field "spec.tlsOnly"

Can anyone help me about this?
Thanks.
Tuan

In version 2.3.1, we changed the way a cluster is run without TLS. Can you try the configuration in the 2.3.1 documentation and see if that works?