Install Crunchy Postgres for Kubernetes.
Do not use the base
directory directly, as you will need to patch the channel
based on the version of OpenShift you are using, or the version of the operator you want to use.
The current overlays available are for the following channels:
If you have cloned the gitops-catalog
repository, you can install Crunchy Postgres for Kubernetes based on the overlay of your choice by running from the root (gitops-catalog
) directory.
oc apply -k crunchy-postgres-operator/operator/overlays/<channel>
Or, without cloning:
oc apply -k https://github.com/redhat-cop/gitops-catalog/crunchy-postgres-operator/operator/overlays/<channel>
As part of a different overlay in your own GitOps repo:
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- https://github.com/redhat-cop/gitops-catalog/crunchy-postgres-operator/operator/overlays/<channel>?ref=main
If you would like to deploy a database, you can try one of the sample databases in the instance/overlays
directory.