Hidde Beydals
920d37fcda
api: add timeout field to GitRepositorySpec
...
This commit adds a timeout field to the GitRepositorySpec to be used
during the git clone operation when reconciling the resource.
When no interval is defined the default timeout returned by the getter
is 20 seconds.
The timeout can not be added yet to the Helm related sources as it
is currently not possible to inject anything custom into the HTTP
client from the Helm HTTP getter except for the authentication
options built in. A submit has been submitted to make this possible
and is waiting for review.
This commit includes some context changes to the other reconcilers
to tidy them up and make them depend on a single background context.
It also includes some added docblocks that crossed my path.
2020-04-22 11:42:27 +02:00
stefanprodan
8bf27c0e3b
proposal: webhook receiver
2020-04-22 10:24:32 +03:00
Stefan Prodan
4304bbee26
Merge pull request #31 from fluxcd/spec-sync
...
docs: Sync specification with API
2020-04-20 12:14:28 +03:00
stefanprodan
61d49cab5e
controller: Move SyncAt annotation to API
2020-04-20 10:51:33 +03:00
stefanprodan
fce046f440
docs: Sync specification with API
...
- update status examples to mach the implementation
- add interval to HelmChart examples
2020-04-20 10:50:26 +03:00
Hidde Beydals
d77ae99678
Merge pull request #30 from fluxcd/concurrent-reconciles
...
controllers: make concurrent reconciles config opt
2020-04-19 16:48:58 +02:00
Hidde Beydals
03a35bc5a3
Merge pull request #29 from fluxcd/tidying
...
chore: README badges and missing copyright headers
2020-04-19 15:11:58 +02:00
Hidde Beydals
5b77100589
controllers: make concurrent reconciles config opt
...
Introduces new helpers and config structs to all reconcilers to
set the max concurrent reconciles number.
Introduces a new flag `--concurrent` to configure the number of
concurrent reconciles per reconciler, defaults to `2`.
2020-04-19 11:52:10 +02:00
Hidde Beydals
61b2bfe36e
docs: add badges to README
2020-04-19 10:55:13 +02:00
Hidde Beydals
12f1365f1b
chore: add missing copyright headers
2020-04-19 10:47:09 +02:00
Hidde Beydals
2f1390dda3
Merge pull request #28 from fluxcd/helmchart-tests
2020-04-17 20:55:07 +02:00
Hidde Beydals
236a6950cd
controllers: test HelmChart missing HelmRepository
2020-04-17 20:39:33 +02:00
Hidde Beydals
7e7f1ccd89
controllers: test HelmChart secretKey usage
2020-04-17 20:29:45 +02:00
Hidde Beydals
d36efa70dd
controllers: slightly restructure HelmRepository tests
2020-04-17 19:21:55 +02:00
Hidde Beydals
6083d886ce
controllers: add HelmChart reconciler tests
2020-04-17 19:21:48 +02:00
Hidde Beydals
d3bc7472ab
Merge pull request #17 from fluxcd/controller-tests
2020-04-17 12:36:29 +02:00
Hidde Beydals
31656c2d62
controllers: test HelmRepository invalid URL
2020-04-17 12:26:42 +02:00
Hidde Beydals
8f09c453ab
controllers: test HelmRepository missing secretRef
2020-04-17 12:17:04 +02:00
Hidde Beydals
3c70c8d333
controllers: test HelmRepository TLS auth
2020-04-17 10:41:24 +02:00
Hidde Beydals
1cc6464b73
controllers: test HelmRepository HTTP basic auth
2020-04-17 10:36:24 +02:00
Hidde Beydals
a50ea436fa
controllers: basic HelmRepository reconciler tests
2020-04-17 10:35:52 +02:00
stefanprodan
379729cb8b
ci: Extract tag from GITHUB_REF
2020-04-16 14:55:55 +03:00
Stefan Prodan
d14492bff4
Merge pull request #26 from fluxcd/release-v0.0.1-alpha.1
...
Release v0.0.1-alpha.1
2020-04-16 14:34:07 +03:00
stefanprodan
7c35de918d
Release v0.0.1-alpha.1
2020-04-16 14:12:38 +03:00
Stefan Prodan
ecc2c62ed7
Merge pull request #3 from fluxcd/spec-v1alpha1
...
Add source API spec v1
2020-04-16 13:27:40 +03:00
Hidde Beydals
000bf41dc2
Address comments
2020-04-16 13:12:27 +03:00
Hidde Beydals
8b4432fc5c
Add impact to Helm Operator
2020-04-16 13:12:27 +03:00
stefanprodan
0084e56971
Add impact to Flux
...
- reword motivation by squaremo
2020-04-16 13:12:27 +03:00
stefanprodan
7323a45504
Add signature verification to Git spec
2020-04-16 13:12:27 +03:00
Hidde Beydals
51f82e72a8
Drop interval fallback for HelmChart
2020-04-16 13:12:27 +03:00
Hidde Beydals
e0eb330d42
Add source interface spec
2020-04-16 13:12:27 +03:00
Hidde Beydals
e002278e35
Improve comments
2020-04-16 13:12:27 +03:00
Hidde Beydals
55a6d5811e
Move HelmChart spec to individual document
2020-04-16 13:12:27 +03:00
stefanprodan
086f6a350a
Remove insecure TLS option for Helm spec
2020-04-16 13:12:27 +03:00
stefanprodan
a490b25647
Add wait for condition example
2020-04-16 13:12:27 +03:00
stefanprodan
6baaa34b0a
Add source synchronization to common spec
2020-04-16 13:12:27 +03:00
stefanprodan
44a5f21f3b
Add link to semver ranges
2020-04-16 13:12:27 +03:00
stefanprodan
fee4c261c6
Add artifact type to source status API
2020-04-16 13:12:27 +03:00
stefanprodan
1e5765ba4f
Add condition reasons and auth required fields
2020-04-16 13:12:27 +03:00
Hidde Beydals
52a2ae80d1
Draft HelmRepository and HelmRelease specs
2020-04-16 13:12:27 +03:00
stefanprodan
134633266a
Add semver automation motive
2020-04-16 13:12:27 +03:00
Stefan Prodan
a9a73301dd
Fix typos
...
Co-Authored-By: Michael Bridgen <michael@weave.works>
2020-04-16 13:12:27 +03:00
stefanprodan
6a1d0409cb
Change the manifests transformation scope
2020-04-16 13:12:27 +03:00
stefanprodan
5ca2f9a4c9
Fix known_hosts typo in spec
2020-04-16 13:12:27 +03:00
stefanprodan
424c1cc097
Add commit pinning option to Git repository API
2020-04-16 13:12:27 +03:00
stefanprodan
b4b85029fb
Add source API spec proposal
2020-04-16 13:12:27 +03:00
Hidde Beydals
96c7ad502c
Merge pull request #25 from fluxcd/check-nil-cleanup
...
controllers: check if != nil before defering
2020-04-16 11:24:21 +02:00
Hidde Beydals
ab3879d170
controllers: check if != nil before defering
2020-04-16 11:11:51 +02:00
Stefan Prodan
47c7197dfa
Merge pull request #24 from fluxcd/local-run
...
Fix http file server address on localhost
2020-04-15 13:13:37 +03:00
stefanprodan
521bae36dd
Fix http file server address for local run
...
- use storage port in the artifacts URL
- create bin dir for local run
2020-04-15 12:42:53 +03:00