Commit Graph

141 Commits

Author SHA1 Message Date
stefanprodan 7ef9218de9 deploy: reusable config 2020-04-24 12:17:33 +03:00
Stefan Prodan f469418dcd
Merge pull request #38 from fluxcd/nonroot
build: run controller as a non-root user
2020-04-24 12:10:50 +03:00
stefanprodan a6a41eeec5 deploy: add liveness and readiness probes 2020-04-24 11:56:51 +03:00
Stefan Prodan 1a1b288a82
Merge pull request #37 from fluxcd/json-logs
controllers: add JSON logging cmd flag
2020-04-24 11:49:04 +03:00
stefanprodan d0cdb6b029 deploy: add container security context
- deny privilege escalation
- set readonly root fs
- add tmp emptyDir volume
2020-04-24 11:45:23 +03:00
stefanprodan 4b465563b4 build: run controller as a non-root user 2020-04-24 10:14:45 +03:00
stefanprodan eeab85c0cb controllers: add JSON logging cmd flag 2020-04-24 10:05:32 +03:00
Stefan Prodan b69852e790
Merge pull request #32 from fluxcd/webhok-receiver
proposal: webhook receiver
2020-04-24 09:48:41 +03:00
Hidde Beydals 2103d38a70
Merge pull request #33 from fluxcd/git-timeout
api: add timeout field to GitRepositorySpec
2020-04-22 12:16:31 +02:00
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