Commit Graph

913 Commits

Author SHA1 Message Date
Hidde Beydals dc4d4ed1e9
Merge pull request #100 from fluxcd/spec/domain-change
Change CRD domain to 'source.toolkit.fluxcd.io'
2020-07-31 08:05:25 +02:00
Hidde Beydals 8e1b213da5 Change CRD domain to 'source.toolkit.fluxcd.io'
Due to required domain changes for the helm-controller so that it
can co-exist in a cluster with the Helm Operator, other Toolkit
components are moving to a *.toolklit.fluxcd.io domain too.
2020-07-30 21:50:46 +02:00
Michael Bridgen 657a76dbe5
Merge pull request #99 from fluxcd/use-central-ghactions
Remove local actions and use those from fluxcd/pkg
2020-07-26 09:57:53 +01:00
Michael Bridgen 44fc115a3a Remove local actions and use those from fluxcd/pkg 2020-07-24 12:20:08 +01:00
Hidde Beydals de26e188fe
Merge pull request #98 from fluxcd/helm/independent-tls-cert-ca-conf
Helm: allow configuration of TLS certs without CA
2020-07-21 08:03:39 +02:00
Hidde Beydals a0357172bc Helm: allow configuration of TLS certs without CA 2020-07-20 21:33:55 +02:00
Stefan Prodan 63d5f211ca
Merge pull request #97 from fluxcd/release-v0.0.6
Release v0.0.6
2020-07-20 13:37:59 +03:00
stefanprodan 7182d9f1f3 Release v0.0.6 2020-07-20 13:24:49 +03:00
Stefan Prodan c9c51f113a
Merge pull request #96 from fluxcd/git-pkg
Make git package public
2020-07-20 13:22:13 +03:00
stefanprodan e65e2f0623 Make git package public 2020-07-20 13:10:18 +03:00
Stefan Prodan b8b0df281f
Merge pull request #95 from fluxcd/crd-v1
Upgrade CRDs to apiextensions.k8s.io/v1
2020-07-20 12:47:05 +03:00
stefanprodan 7e2fe14efa Upgrade CRDs to apiextensions.k8s.io/v1 2020-07-20 12:21:34 +03:00
Hidde Beydals 5d0290369f
Merge pull request #92 from fluxcd/enhancement/finalizers
Refactor garbage collectors to finalizers
2020-07-16 15:08:02 +02:00
Hidde Beydals e72855f88d Refactor garbage collectors to finalizers 2020-07-16 14:18:33 +02:00
Hidde Beydals 96c29a89b4
Merge pull request #91 from fluxcd/enhancement/remove-owner-ref
Remove HelmRepository owner ref on HelmChart
2020-07-16 13:01:35 +02:00
Hidde Beydals ba3ed63a9d Remove HelmRepository owner ref on HelmChart
As the HelmChart is not the result of the HelmRepository, but more
like a Deployment -> Secret relationship.
2020-07-16 12:39:53 +02:00
Stefan Prodan 70b095dccd
Merge pull request #90 from erikh/fix-bug-in-filepath-walk
Storage: fix a small bug in RemoveAllButCurrent when the directory is invalid
2020-07-16 09:21:11 +03:00
Erik Hollensbe 687b79a7dd Storage: fix a small bug in RemoveAllButCurrent when the directory is invalid
filepath.Walk can return a `nil` for the stat value, when it does, the
directory is invalid and the error will be set. This causes a
panic+crash if the directory does not currently exist when
RemoveAllButCurrent is called.

The following patch makes the behavior an error instead.

Signed-off-by: Erik Hollensbe <github@hollensbe.org>
2020-07-15 18:50:09 +00:00
Stefan Prodan 90ed251d3b
Merge pull request #89 from fluxcd/refactor-reconciliation
Improve error handling and reporting
2020-07-15 12:38:02 +03:00
stefanprodan eb20a8f465 Improve error handling and reporting
- return reconciliation error so that controller runtime metrics record failures
- change structure logging labels to match the controller runtime format
- log the reconciliation duration for all kinds
- normalise log messages and labels across all controllers
2020-07-15 12:24:11 +03:00
Hidde Beydals 5616c2f950
Merge pull request #88 from fluxcd/build/org-secrets
Use Docker organization secrets in build
2020-07-14 07:48:14 +02:00
Hidde Beydals c58bd7931f Use Docker organization secrets in build 2020-07-13 23:21:30 +02:00
Stefan Prodan 7891493ac9
Merge pull request #87 from fluxcd/release-v0.0.5
Release v0.0.5
2020-07-13 17:00:06 +03:00
stefanprodan 780b4388a3 Release v0.0.5 2020-07-13 16:35:22 +03:00
Stefan Prodan 315c2d724c
Merge pull request #86 from fluxcd/reconcile-annotation
Rename syncAt annotation to reconcileAt
2020-07-13 16:18:42 +03:00
stefanprodan b3e58b48dd Rename syncAt annotation to reconcileAt
Use `fluxcd.io/reconcileAt` annotation across all controllers.
2020-07-13 16:06:16 +03:00
Hidde Beydals dd9563ba98
Merge pull request #84 from fluxcd/enhancement/logging
Setup production logging
2020-07-13 11:16:51 +02:00
Hidde Beydals d98882462e Setup production logging
For production the log format is JSON, the timestamps format is ISO8601
and stack traces are logged when the level is set to debug.
2020-07-13 11:02:46 +02:00
Stefan Prodan bc461530d8
Merge pull request #83 from fluxcd/release-v0.0.4
Release v0.0.4
2020-07-10 16:42:06 +03:00
stefanprodan d1052ffd8b Release v0.0.4 2020-07-10 16:19:29 +03:00
Hidde Beydals d35c258f3a
Merge pull request #82 from fluxcd/api/kind-constants 2020-07-10 12:23:20 +02:00
Hidde Beydals c90be06345 Add constants for kind names 2020-07-10 12:07:54 +02:00
Stefan Prodan 9592196300
Merge pull request #81 from fluxcd/fix-testersrv
Fix artifact test server
2020-07-10 11:48:08 +03:00
stefanprodan cfc3d35cbf Fix artifact test server
path.Join strips // from URLs, using fmt.Sprintf to fix URLForFile
2020-07-10 10:55:52 +03:00
Stefan Prodan 76b62e5389
Merge pull request #79 from fluxcd/release-v0.0.3
Release v0.0.3
2020-07-09 16:05:21 +03:00
stefanprodan 4cee48c385 Release v0.0.3 2020-07-09 15:30:01 +03:00
Stefan Prodan 47024857ec
Merge pull request #78 from fluxcd/ignore-spec
Add ignore field to GitRepository spec
2020-07-09 15:18:41 +03:00
stefanprodan b9dc2ecf64 Add ignore field to GitRepository spec 2020-07-09 14:48:02 +03:00
Stefan Prodan 74c97ade76
Merge pull request #77 from erikh/ignore-lists
Support ignored files as a parameter
2020-07-09 14:16:10 +03:00
Erik Hollensbe a723b9e3e7 Archive and storage tests
Signed-off-by: Erik Hollensbe <github@hollensbe.org>
2020-07-08 23:23:33 +00:00
Erik Hollensbe b1b1dbcec5 Support programming excluded patterns in gitrepository spec
-- More coming in this commit message soon

Signed-off-by: Erik Hollensbe <github@hollensbe.org>
2020-07-08 14:38:44 +00:00
Stefan Prodan 9a92164f17
Merge pull request #73 from erikh/env-or-default
Small patches to enable non-localhost controller development
2020-07-07 07:57:58 +03:00
Erik Hollensbe 71913f4d88 main.go: Handle returning a non-localhost testing port
If provided, STORAGE_ADDR can specify 0.0.0.0 which means "look up the
hostname and use that".

Signed-off-by: Erik Hollensbe <github@hollensbe.org>
2020-07-06 16:53:10 +00:00
Erik Hollensbe 77788d6718 Add envOrDefault call to main.go; handle flags with it
This call simply accepts an environment variable or the default provided
as the *default* to the flag variable. This is intended to be suitable
for 12-factor situations as well as allow the commandline to still
override it.

Signed-off-by: Erik Hollensbe <github@hollensbe.org>
2020-07-06 16:53:06 +00:00
Stefan Prodan 4acf569681
Merge pull request #72 from fluxcd/move-receiver
Move Receiver API to notification controller
2020-07-03 17:06:09 +03:00
stefanprodan 4887764947 Move Receiver API to notification controller 2020-07-03 16:10:57 +03:00
Stefan Prodan 24983fad1a
Merge pull request #70 from fluxcd/release-v0.0.2
Release v0.0.2
2020-07-03 11:05:21 +03:00
stefanprodan 7140305620 Release v0.0.2 2020-07-03 10:27:42 +03:00
Stefan Prodan 06c5782d53
Merge pull request #69 from fluxcd/events
Implement event recording
2020-07-03 10:22:11 +03:00
stefanprodan c9681ae949 Change ports: 8080 for metrics and 9090 for storage 2020-07-03 08:48:07 +03:00