Operator for database and user management inside PostgreSQL engine
10K+
https://github.com/EasyMile/postgresql-operator
When we speak about Engines, we speak about PostgreSQL Database Servers. It isn't the same as Databases. Databases will store tables, ...
In this operator, Users are linked to Databases and doesn't exist without it. They are "children" of databases.
Moreover, a single User can only have rights to one Database.
| CustomResourceDefinition | Description |
|---|---|
| PostgresqlEngineConfiguration | Represents a PostgreSQL Engine Configuration with all necessary data to connect it |
| PostgresqlDatabase | Represents a PostgreSQL Database |
| PostgresqlUser | Represents a PostgreSQL User |
The project has a Helm 3 chart located in deploy/helm/postgresql-operator.
It will deploy the operator running the command:
helm install postgresql-operator ./deploy/helm/postgresql-operator
As the chart located in deploy/helm/postgresql-operator uses the specific Helm 3 folder called crd. The chart can only install the operator but not the CRDs.
CRDs have to be installed manually.
The procedure is the following:
kubectl apply -f ./deploy/crds/
helm install postgresql-operator ./deploy/helm/postgresql-operator
The procedure is the following:
kubectl apply -f ./deploy/crds/
kubectl apply -f ./deploy/role_binding.yaml
kubectl apply -f ./deploy/role.yaml
kubectl apply -f ./deploy/service_account.yaml
kubectl apply -f ./deploy/operator.yaml
MIT (See LICENSE)
Content type
Image
Digest
Size
54.9 MB
Last updated
over 5 years ago
docker pull easymile/postgresql-operator