Commit Graph

151 Commits

Author SHA1 Message Date
Stefan Prodan b078847ce8
Merge pull request #43 from fluxcd/progressing-status
status: record progressing as intermediate state
2020-04-27 11:59:13 +03:00
stefanprodan 8071dadbf0 status: record progressing
Set ready condition to unknown while the reconciliation is progressing.
This allows other operators to wait for a sync to complete.
2020-04-27 11:16:35 +03:00
Stefan Prodan 9af721f431
Merge pull request #42 from fluxcd/fix-git-sync
git: Update status after sync failure
2020-04-27 11:14:50 +03:00
stefanprodan 502a80b194 git: Update status after sync failure 2020-04-26 23:21:16 +03:00
Hidde Beydals 019d8f1215
Merge pull request #41 from fluxcd/release-v0.0.1-alpha.2 2020-04-24 14:12:22 +02:00
Hidde Beydals 98cade9443 Release v0.0.1-alpha.2 2020-04-24 14:01:19 +02:00
Hidde Beydals 36e59f7aac docs: document release process 2020-04-24 13:32:35 +02:00
Hidde Beydals 0fa698482a
Merge pull request #40 from fluxcd/spec/gitrepository-timeout 2020-04-24 13:02:37 +02:00
Hidde Beydals 13a0f1232a spec: document GitRepositorySpec Timeout field 2020-04-24 11:59:34 +02:00
Stefan Prodan c6e2a57212
Merge pull request #39 from fluxcd/deploy-config
deploy: reusable config
2020-04-24 12:31:08 +03:00
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