Skip to content

Commit

Permalink
add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkarlsen committed Sep 8, 2023
1 parent 4a141e2 commit 22a3596
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
# flyway-operator
// TODO(user): Add simple overview of use/purpose
[Kubernetes-operator](https://kubernetes.io/docs/concepts/extend-kubernetes/operator/) to apply [Flyway migrations](https://flywaydb.org/).


## Description
// TODO(user): An in-depth paragraph about your project and overview of use
The operator will spawn [Jobs](https://kubernetes.io/docs/concepts/workloads/controllers/job/) using the
[flyway-docker image](https://hub.docker.com/r/flyway/flyway).

See `config/samples` for example CRs.

It still an early project and I want to further develop some day-2 elements:
* extract logs from run, and attach to `Status` field of CR
* extract facts about migrated version and attach to `Status` field
* support more advanced migrations, using
* placeholders
* java-migrations

## Getting Started
You’ll need a Kubernetes cluster to run against. You can use [KIND](https://sigs.k8s.io/kind) to get a local cluster for testing, or run against a remote cluster.
Expand Down Expand Up @@ -42,7 +53,9 @@ make undeploy
```

## Contributing
// TODO(user): Add detailed information on how you would like others to contribute to this project
* Create issues - add as much info, such as logs, versions and CR-definitions to the issue
* Create PRs including tests
* Make sure you run `make manifests fmt vet` prior to opening the PR

### How it works
This project aims to follow the Kubernetes [Operator pattern](https://kubernetes.io/docs/concepts/extend-kubernetes/operator/).
Expand Down

0 comments on commit 22a3596

Please sign in to comment.