Skip to content

jasonodonnell/postgres-operator-playbooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crunchy Data PostgreSQL Operator Playbooks

Latest Release: 3.3.0 2024-12-31

General

This repository contains Ansible Roles for deploying the Crunchy PostgreSQL Operator for Kubernetes and OpenShift.

Installation

The following are required for installation using these roles:

Next, edit the inventory file included to configure the Crunchy PostgreSQL Operator installation.

Once the inventory file has been configured, run the following command to deploy:

ansible-playbook -i inventory install.yml

After installation completes, set the following environment variables for pgo to work correctly:

export PGO_CA_CERT=/tmp/pgo-config/pg-operator.crt
export PGO_CLIENT_CERT=/tmp/pgo-config/pg-operator.crt
export PGO_CLIENT_KEY=/tmp/pgo-config/privkey.pem
export URL=$(kubectl get service postgres-operator -o=jsonpath="{.spec.clusterIP}")
export CO_APISERVER_URL=https://${URL?}:8443'

Finally, test pgo is communicating with the PostgreSQL Operator API Service:

pgo version

More Information

Please view the official Crunchy Data PostgreSQL Operator documentation here.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published