External Postgres Database ?

Trying to install the latest operator on Kubernetes and we wanted to use an external postgres database.

I am trying to follow along with these directions to connect it:

https://github.com/ansible/awx-operator#external-postgresql-service

However it states things I simply don’t understand and I’m not sure how to proceed.

"External PostgreSQL Service

To configure AWX to use an external database, the Custom Resource needs to know about the connection details. To do this, create a k8s secret with those connection details and specify the name of the secret as postgres_configuration_secret at the CR spec level."

So this reads to me like I need to create a file named “postgres_configuration_secret.yaml” I’m assuming .yaml and within the file I put the contents from the example.

Then it says “specify the name of the secret at the CR spec level”, sorry but what is the CR spec level?

Then it goes on to say:

"Once the secret is created, you can specify it on your spec:

— spec: … postgres_configuration_secret: "

What spec??

This seems to assume I know a whole lot about Kubernetes. I don’t. :frowning:

What spec??

it would be the awx-demo.yml in our main instructions for the operator (or whatever you call kubectl apply -f with, after make deploy)

https://github.com/ansible/awx-operator#basic-install

Hope that helps

Seth