Commit Graph

8 Commits

Author SHA1 Message Date
Hidde Beydals 0e7379d6c5 Use musl and libgit2 packages from v3.13 branch
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-02-10 22:34:38 +01:00
Stefan Prodan 1e48cd3665
Update Alpine to v3.13
- set fsGroup to allow AWS IAM Role bindings
- fix the group assignment in Alpine
- bump Alpine to 3.13

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-02-08 11:36:57 +02:00
Michael Bridgen 1c37d80f85 Add libgit2 to docker image build
This copies the approach used in source-controller: add the
libgit2-dev package (i.e., headers) to the build container, then add
the shared lib to the _image_ image.

Signed-off-by: Michael Bridgen <michael@weave.works>
2021-01-14 14:17:02 +01:00
Michael Bridgen bacddc86ce Fix order of copy api/ and go mod in Dockerfile
Once the api/ directory has its own module, to which the top go.mod
refers, it needs to be copied over before running `go mod download`.

Signed-off-by: Michael Bridgen <michael@weave.works>
2020-11-19 14:52:48 +00:00
Stefan Prodan 38b4eb2fe9
Enable multi-arch build
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-10-22 17:30:58 +03:00
Michael Bridgen a39bf26567 Bump go to 1.14 2020-08-06 09:07:46 +01:00
Michael Bridgen 739f3c1770 Add update strategy that uses image policy
Just to get points on the board, this gives ImageUpdateAutomation an
`update` field into which you can plug the name of an ImagePolicy
resource (from the image reflector controller). The idea is that the
automation will then replace the image in the policy, anywhere it's
used, with its latest version.
2020-07-23 18:20:35 +01:00
Michael Bridgen baf50cd4fc Initialise controller scaffolding
go mod init github.com/squaremo/image-automation-controller
    kubebuilder init --domain=fluxcd.io
    $EDITOR hack/boilerplate.go.txt
2020-07-18 15:23:13 +01:00