Commit Graph

1121 Commits

Author SHA1 Message Date
Stefan Prodan df64bb0c3e
Merge pull request #329 from fluxcd/exclude-ci
Add well-known CI configs to exclusion list
2021-03-31 14:54:41 +03:00
Stefan Prodan 9a08c0cc52
Add well-known CI configs to exclusion list
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-03-31 14:39:12 +03:00
Stefan Prodan 00ca53c0b2
Merge pull request #327 from fluxcd/fetch-submodules
Add support for Git submodules with go-git
2021-03-31 14:37:58 +03:00
Michael Bridgen 681ddd5db0 Test RecurseSubmodules
This commit adds a test specifically for RecurseSubmodules. It takes a
bit more preparation, since it needs a repo using submodules to start
with. go-git doesn't appear to support adding submodules
programmatically, so the preparation is done in part by execing `git`.

Signed-off-by: Michael Bridgen <michael@weave.works>
2021-03-31 12:22:10 +01:00
Stefan Prodan 664a568822
Add support for Git submodules with go-git
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-03-30 13:00:13 +03:00
Stefan Prodan 5486321a60
Merge pull request #325 from fluxcd/go-git-submodules
Enable git submodules cloning when using go-git
2021-03-29 16:14:50 +03:00
Stefan Prodan 97d0326432
Enable git submodules cloning when using go-git
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-03-29 15:25:33 +03:00
Stefan Prodan 3600fe3fd1
Merge pull request #324 from fluxcd/go-git-cabundle
Enable self-signed certs for go-git
2021-03-29 14:39:31 +03:00
Stefan Prodan f0016cfad1
Enable self-signed certs for go-git
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-03-29 13:23:32 +03:00
Stefan Prodan bfdee9b383
Merge pull request #320 from sata/add-bucket-iam-role-policy-example
Add IAM role S3 bucket policy example to documentation
2021-03-29 13:23:04 +03:00
Sam Tavakoli 32a9454f18
Merge branch 'main' into add-bucket-iam-role-policy-example 2021-03-26 13:48:25 +00:00
Sam Tavakoli 64aa488f4a
Add IAM role S3 bucket policy example to documentation
Quick overview for what permissions are requried by the controller.

Signed-off-by: Sam Tavakoli <sam.tavakoli@form3.tech>
2021-03-26 13:26:43 +00:00
Hidde Beydals 1cc7851450
Merge pull request #321 from fluxcd/release-v0.10.0
Release v0.10.0
2021-03-26 14:02:53 +01:00
Hidde Beydals 2c084ba825 Release v0.10.0
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-03-26 13:41:18 +01:00
Hidde Beydals d5c6f58aa6
Merge pull request #319 from fluxcd/leader-election-id
Change leader election ID to be more descriptive
2021-03-26 12:34:43 +01:00
Hidde Beydals 647f4ec80d Change leader election ID to be more descriptive
This changes the leader election ID to be more descriptive, while it is
a breaking change the impact should be minimal assuming people have not
scaled up their replica count.

Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-03-26 12:14:59 +01:00
Stefan Prodan eaec1642cc
Merge pull request #318 from fluxcd/le-config
Set leader election deadline to 30s
2021-03-25 16:19:07 +02:00
Stefan Prodan a034c5d955
Set leader election deadline to 30s
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-03-25 13:43:22 +02:00
Stefan Prodan 01d713e9cb
Merge pull request #311 from SomtochiAma/suspend-metrics
Record suspend metric in controllers
2021-03-17 15:37:21 +02:00
Somtochi Onyekwere 2624ba93a3 Record suspension metric
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2021-03-17 14:04:21 +01:00
Hidde Beydals f90e0370dc
Merge pull request #309 from fluxcd/release-v0.9.1
Release v0.9.1
2021-03-15 12:56:36 +01:00
Hidde Beydals 1a4b2662e6 Release v0.9.1
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-03-15 12:29:48 +01:00
Stefan Prodan 3a1436439b
Merge pull request #307 from fluxcd/update-deps
Update dependencies
2021-03-12 13:04:56 +02:00
Stefan Prodan fd13ebdcf0
Add CodeQL scanning
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-03-12 12:44:39 +02:00
Stefan Prodan 2ef7904c9d
Normalise release workflow
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-03-12 12:41:57 +02:00
Stefan Prodan 2f04bd3043
Update dependencies
- helm.sh/helm/v3 v3.5.3
- github.com/minio/minio-go/v7 v7.0.10
- sigs.k8s.io/controller-runtime v0.8.3

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-03-12 12:39:23 +02:00
Michael Bridgen bbd63d5cfb
Merge pull request #304 from fluxcd/use-gitutil-giterrs
Tidy git clone errors
2021-03-03 15:03:20 +00:00
Michael Bridgen f7e08c4738 Tidy git clone errors
In some circumstances (that are rather hard to reproduce), cloning
from a GitLab repo gets a multiline response as described in
https://github.com/fluxcd/image-automation-controller/pull/115.

This uses the same remedy as in that PR, by calling the funcs provided
by fluxcd/pkg/gitutil on any error returned by libgit2 or gogit clone
operations.

Signed-off-by: Michael Bridgen <mikeb@squaremobius.net>
2021-03-03 13:41:53 +00:00
Stefan Prodan 6cee2f3b09
Merge pull request #302 from fluxcd/fix-ci
Fix release workflow
2021-02-23 15:57:53 +02:00
Stefan Prodan 2dce2174a2
Fix release workflow
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-02-23 15:55:56 +02:00
Stefan Prodan d546956e36
Merge pull request #301 from fluxcd/release-v0.9.0
Release v0.9.0
2021-02-23 15:22:39 +02:00
Stefan Prodan f818317d39
Release v0.9.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-02-23 15:08:16 +02:00
Stefan Prodan c594fc37cd
Merge pull request #300 from fluxcd/release-ci
Refactor release workflow
2021-02-23 14:56:35 +02:00
Stefan Prodan 280bbaa69d
Refactor release workflow
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-02-23 14:38:11 +02:00
Stefan Prodan 15a93d6d1c
Merge pull request #299 from fluxcd/update-packages
Update dependencies
2021-02-23 14:34:42 +02:00
Stefan Prodan fd88f934ee
Update chart tests
helm.sh/helm/v3 v3.5.2 no longer accepts chart versions that are not strict semver

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-02-23 14:19:56 +02:00
Stefan Prodan 22f5a6f6fb
Update dependencies
- helm.sh/helm/v3 v3.5.2 (forces us into pinning docker)
- sigs.k8s.io/controller-tools/cmd/controller-gen v0.4.1
- sigs.k8s.io/controller-runtime v0.8.2
- fluxcd/pkg/apis/meta v0.8.0
- fluxcd/pkg/runtime v0.8.3

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-02-23 13:18:21 +02:00
Stefan Prodan 2ea4268865
Merge pull request #298 from jonathan-innis/joinnis/typo-fix
Typo fix in GitRepositories doc file
2021-02-23 08:51:27 +02:00
Jonathan Innis df91005cdf
Typo fix in GitRepositories doc file
Signed-off-by: jonathan-innis <jonathan.innis.ji@gmail.com>
2021-02-22 16:24:17 -08:00
Hidde Beydals 2a91f1bee0
Merge pull request #295 from fluxcd/release-v0.8.1
Release v0.8.1
2021-02-18 10:44:02 +01:00
Hidde Beydals f2dfa2d0cb Release v0.8.1
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-02-18 10:26:55 +01:00
Hidde Beydals 6b6154c09f
Merge pull request #294 from fluxcd/helmchart-dep-bug
Copy loop iterator var for use by goroutine
2021-02-18 09:29:25 +01:00
Hidde Beydals 5f4f91ed78 Copy loop iterator var for use by goroutine
This fixes a bug where only the last dependency would be downloaded.

https://github.com/golang/go/wiki/CommonMistakes#using-goroutines-on-loop-iterator-variables

Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-02-18 01:39:07 +01:00
Hidde Beydals cd63c201a1
Merge pull request #292 from fluxcd/release-v0.8.0
Release v0.8.0
2021-02-12 12:20:57 +01:00
Hidde Beydals cae8241e17 Release v0.8.0
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-02-12 12:07:28 +01:00
Philip Laine d1ee61844d
Merge pull request #290 from fluxcd/fix/hash-type
libgit2: check hostkey type when validating hostkey
2021-02-12 11:32:35 +01:00
Philip Laine 0a1631dc5a Remove redundant if else
Signed-off-by: Philip Laine <philip.laine@gmail.com>
2021-02-12 11:18:29 +01:00
Philip Laine 73301df023 Add md5 test and check priority of hash types
Signed-off-by: Philip Laine <philip.laine@gmail.com>
2021-02-12 11:16:16 +01:00
Philip Laine f9ddeb06e1 Fix hash type switch statement
Signed-off-by: Philip Laine <philip.laine@gmail.com>
2021-02-12 08:43:43 +01:00
Philip Laine 6b3d96ef3b Check hostkey type when validating hostkey
Signed-off-by: Philip Laine <philip.laine@gmail.com>
2021-02-11 23:04:46 +01:00