Configure AWX Database using external secret(store in AWS Secrete manager)

,

Hello Folks

I am trying to set up awx environments with respective external database. I have added postgres_configuration_secret: awx-configuration-secret in Values.yaml file.

awx-deploy.yaml has below code in it.

{{- /* Postgres configs if enabled and not already present */}}
{{- if and .Values.AWX.postgres.enabled (not (hasKey .Values.AWX.spec “postgres_configuration_secret”)) }}
postgres_configuration_secret: {{ include “postgres.secretName” $ }}
{{- end }}
{{- end }}

this configuration works well but when I change the database awx installation doesn’t take newly configured database.

any thought?