External Postgres Database ?

884 views
Skip to first unread message

Dane DeValcourt

unread,
May 12, 2022, 4:48:25 PM5/12/22
to AWX Project
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:


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: <name-of-your-secret>"

What spec??

This seems to assume I know a whole lot about Kubernetes.  I don't.  :-(

AWX Project

unread,
May 18, 2022, 4:12:45 PM5/18/22
to AWX Project
| 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)


Hope that helps

Seth

Reply all
Reply to author
Forward
0 new messages