Commit Graph

421 Commits

Author SHA1 Message Date
stefanprodan d55417b9b2 Publish ARM v7/v8 multi-arch image to GHCR 2020-09-21 09:50:23 +03:00
Hidde Beydals 0d50de8aca
Merge pull request #149 from fluxcd/fossa-scan
FOSSA scan enabled
2020-09-18 16:07:07 +02:00
Stefan Prodan 79d043caea
Merge pull request #150 from fluxcd/release-v0.0.17
Release v0.0.17
2020-09-18 17:01:06 +03:00
stefanprodan 924e0124b4 Release v0.0.17 2020-09-18 16:44:59 +03:00
Stefan Prodan ce07344ddf
Merge pull request #146 from fluxcd/s3-bucket-controller
Implement S3 bucket source
2020-09-18 16:24:35 +03:00
stefanprodan 6f8c3816f4 Add secrets read-only access to RBAC 2020-09-18 16:11:28 +03:00
stefanprodan 7abb7ccf60 Add Bucket e2e tests 2020-09-18 16:11:24 +03:00
stefanprodan 2ca47fb4ba Guard against missing S3 credentials 2020-09-18 16:11:24 +03:00
stefanprodan 716d5532a4 Add S3 test data 2020-09-18 16:11:24 +03:00
stefanprodan c2c61b10a1 Implement S3 Bucket controller 2020-09-18 16:11:24 +03:00
stefanprodan 0e6ae3b769 Add Bucket type to API 2020-09-18 16:11:24 +03:00
Hidde Beydals 40ddf3c731 FOSSA scan enabled 2020-09-18 14:28:38 +02:00
Hidde Beydals 4f30ff1837
Merge pull request #148 from fluxcd/ci-check-images
ci: add sanity check for container images
2020-09-18 13:53:51 +02:00
Hidde Beydals 2576c739f4 ci: add sanity check for container images
Fail build if container images have been pushed with corrupted layers
and enable buildx debug logs.
2020-09-18 13:41:59 +02:00
Stefan Prodan 37ffa6fd9a
Merge pull request #147 from fluxcd/bucket-api
Add Bucket type to source API spec
2020-09-18 14:23:02 +03:00
stefanprodan 133904d025 Add Bucket type to source API spec 2020-09-18 14:01:28 +03:00
Stefan Prodan f48661f7a0
Merge pull request #144 from fluxcd/release-v0.0.16
Release v0.0.16
2020-09-12 10:49:07 +03:00
stefanprodan bdabea02ab Release v0.0.16 2020-09-12 10:36:17 +03:00
Stefan Prodan de561e4dec
Merge pull request #143 from fluxcd/watch-all-namespaces
Add watch all namespaces flag
2020-09-11 16:13:50 +03:00
stefanprodan 800efe6664 Add watch all namespaces flag 2020-09-11 15:57:36 +03:00
Hidde Beydals a58ad6f755
Merge pull request #142 from fluxcd/release-v0.0.15
Release v0.0.15
2020-09-11 14:04:17 +02:00
Hidde Beydals 3e04d16292 Release v0.0.15 2020-09-11 13:52:32 +02:00
Hidde Beydals a41e58e697
Merge pull request #140 from fluxcd/chart-values-overwrite 2020-09-11 13:46:02 +02:00
Hidde Beydals eaec41f6e9 e2e: test HelmChart ValuesFile 2020-09-11 13:33:08 +02:00
Hidde Beydals 7268c8b61d Refactor and factor out chart values replacement 2020-09-11 12:16:41 +02:00
Hidde Beydals fd36d2d4f9 Allow overwriting chart values from HelmRepository 2020-09-11 11:32:54 +02:00
Hidde Beydals 2e0b6cb6c9 Allow overwriting chart values from GitRepository 2020-09-11 11:32:45 +02:00
Hidde Beydals fa37eea123
Merge pull request #141 from fluxcd/status-artifact-reset 2020-09-11 10:25:37 +02:00
Hidde Beydals f40a42115b Conditionally remove artifact from source status
We only want to remove it if it is no longer in storage, otherwise we
still want to keep it around till we have a new artifact.
2020-09-11 10:10:47 +02:00
Hidde Beydals 0f9a6ff939 Remove `find -execdir` from `Makefile`
As it does not allow for error codes to surface
2020-09-11 09:58:07 +02:00
Stefan Prodan b75a1bbb81
Merge pull request #139 from fluxcd/rbac-patch-events
Include PATCH rule for events in manager-role
2020-09-11 09:20:50 +03:00
Hidde Beydals b5d869db03 Include PATCH rule for events in manager-role
During high custom resource count / low interval tests, I was greated
with a `cannot patch resource "events"` message. This happened due to
event compaction, where it will perform a patch instead of a create.
By giving the role the permission to do so this should no longer pose
a problem.
2020-09-10 21:17:10 +02:00
Hidde Beydals 7f0c99cf03 Tweak `make manifest` target to reenable RBAC gen 2020-09-10 21:17:06 +02:00
Hidde Beydals c8631888a0
Merge pull request #133 from fluxcd/storage/atomic-file-write 2020-09-10 14:46:34 +02:00
Hidde Beydals f08febdffa Bump build-push-action version 2020-09-10 14:21:16 +02:00
Hidde Beydals d03f4fa4c4 Change advertised artifact URLs on hostname change 2020-09-10 14:13:46 +02:00
Hidde Beydals 7a3a5938d3 Mark resources as progressing on spec changes 2020-09-10 14:13:41 +02:00
Hidde Beydals 42706a342b Calculate checksums during file writes 2020-09-10 13:00:08 +02:00
Hidde Beydals 1ab12869ac Make storage file writes atomic 2020-09-10 12:02:32 +02:00
Hidde Beydals d4830bc0f7
Merge pull request #137 from fluxcd/use-pkg-for-runtime-bits
Use pkg/runtime for predicate and logger
2020-09-09 20:54:41 +02:00
Michael Bridgen 901463eaaa Use pkg/runtime for predicate and logger 2020-09-09 17:57:16 +01:00
Hidde Beydals 783892bd3a
Merge pull request #136 from fluxcd/artifact-local-path
storage: actually record relative path in artifact
2020-09-09 17:08:37 +02:00
Hidde Beydals 68ccf2598f storage: actually record relative path in artifact 2020-09-09 16:32:25 +02:00
Stefan Prodan 255d0b7c16
Merge pull request #135 from fluxcd/info-log
Configure manager logging and set level to info
2020-09-09 15:38:03 +03:00
stefanprodan 86c8b0c9bd Configure manager logging and set level to info 2020-09-09 15:22:03 +03:00
Hidde Beydals ec51edae43
Merge pull request #134 from fluxcd/artifact-api-improvements 2020-09-09 14:10:33 +02:00
Hidde Beydals 68947cfca6 controllers: resolve issue with gc on delete
When a delete of a resource is requested a `deletionTimestamp` is set
on the resource by the requester, this also results in a generation
change of the resource.

If the resource is under reconciliation while this timestamp is set, and
had not produced an artifact earlier on, this becomes a problem as the
artifact metadata is used to determine what should be garbage collected
on a deletion, resulting in stray files for resources that are no longer
present.

To resolve this for now, we always create a new artifact object for the
resource when `all==true` on the GC method call, and no longer rely on
the presence of the artifact object on the resource itself.
2020-09-09 13:41:56 +02:00
Hidde Beydals 99b74da044 api/artifact: add checksum field to artifact
This includes a change to how the revision for HelmRepository sources is
recorded, as this will now equal to the generated timestamp from the index
in RFC3339Nano format.
2020-09-09 13:41:56 +02:00
Hidde Beydals 0b752178b1 storage: only store relative path in artifact
As the storage base directory is determined during runtime, and
artifacts may live longer than that if they are e.g. stored in a
persistent volume but the mount path configuration changes.
2020-09-08 17:21:56 +02:00
Hidde Beydals f8c4bd31ca api/artifact: add ArtifactDir helper func
To make it easier to construct just the directory path for the
artifact (relative to the storage base path).
2020-09-08 15:16:58 +02:00