Skip to content

Commit f09c1b6

Browse files
committed
Fill out the project README.
Add documentation on suspend/manual reconciliation.
1 parent 9111a62 commit f09c1b6

File tree

2 files changed

+22
-3
lines changed

2 files changed

+22
-3
lines changed

README.md

+12-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,19 @@
11
# gitopssets-controller
22

3-
// TODO(user): Add simple overview of use/purpose
3+
GitOpsSets provide a way to declaratively generate resources in a Kubernetes cluster, generating the values to template resources from multiple sources.
44

55
## Description
66

7-
// TODO(user): An in-depth paragraph about your project and overview of use
7+
The gitopssets controller provides generators for creating the inputs to templates.
8+
9+
The `GitOpsSet` CRD declares `generators` which are Go code which generates JSON objects from a set of input parameters.
10+
11+
Creating of resources in the cluster is a two-phase process, _generate_ the template inputs and _render_ the templates with the inputs.
12+
13+
Resources are created, updated and deleted when they are no longer rendered by the templating mechanism.
14+
15+
There are plenty of examples in the [./examples](./examples) directory and full
16+
documentation in [./docs/](./docs).
817

918
## Getting Started
1019

@@ -70,7 +79,7 @@ make run
7079

7180
## Contributing
7281

73-
// TODO(user): Add detailed information on how you would like others to contribute to this project
82+
Feel free to open issues against this repository https://github.com/weaveworks/gitopssets-controller
7483

7584
### How it works
7685

docs/README.md

+10
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,16 @@ Currently rendering templates operates in two phases:
99

1010
Please read the [security information](#security) below before using this.
1111

12+
## General behaviour
13+
14+
GitOpsSets can be suspended, by setting the `spec.suspend` flag to be true.
15+
16+
When this is the case, updates will not be applied, no resources created _or_
17+
deleted.
18+
19+
In addition, a manual reconciliation can be requested by annotating a GitOpsSet
20+
with the `reconcile.fluxcd.io/requestedAt` annotation.
21+
1222
## Generation
1323

1424
The simplest generator is the `List` generator.

0 commit comments

Comments
 (0)