https://github.com/glints-dev/postgres-config-operator
Kubernetes Operator to maintain PostgreSQL configuration
https://github.com/glints-dev/postgres-config-operator
Last synced: 7 months ago
JSON representation
Kubernetes Operator to maintain PostgreSQL configuration
- Host: GitHub
- URL: https://github.com/glints-dev/postgres-config-operator
- Owner: glints-dev
- License: other
- Created: 2021-05-29T16:27:23.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-06-10T19:11:36.000Z (about 3 years ago)
- Last Synced: 2024-06-21T16:58:15.839Z (about 2 years ago)
- Language: Go
- Size: 379 KB
- Stars: 2
- Watchers: 6
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PostgreSQL Configuration Operator
The Postgres Configuration Operator allows for declarative configuration of
PostgreSQL instances using Custom Resource Definitions (CRDs).
This operator is written using the [Operator SDK](https://sdk.operatorframework.io/).
## Operator Features
- Creating and maintaining [publications](https://www.postgresql.org/docs/current/sql-createpublication.html)
- Creating [tables](https://www.postgresql.org/docs/current/sql-createtable.html)
- (Coming soon) Creating and maintaining [roles](https://www.postgresql.org/docs/13/sql-createrole.html)
## Getting Started
As this operator is in early development, there are no releases at the moment.
To build a copy of the operator and push the resulting image to a Docker
registry, use the following command:
```
make docker-build docker-push IMG="localhost:5000/postgres-config-operator:latest"
```
To deploy to a running Kubernetes cluster using the current context configured
with `kubectl`, use:
```
make deploy IMG="localhost:5000/postgres-config-operator:latest"
```
## Development & Testing
Testing can be done locally by simply running:
```
make test
```
## Examples
Example manifests can be found under config/samples/.