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
Hidde Beydals
ca2bb803ee
Merge pull request #288 from fluxcd/libgit2-hostkey
2021-02-11 15:15:38 +01:00
Hidde Beydals
b2f6639c01
libgit2: use provided host to validate public key
...
The callback from libgit2 only provides a hostname (without the port),
but the `known_hosts` file indexes the public keys based on the full
host (e.g. `[localhost]:123` for a host behind a specific port).
As a result, it was unable to find the correct public key for the
hostname when it was added to the `known_hosts` file with the port.
To work around this, we add the user provided host that includes the
port to the `PublicKeyAuth` strategy, and use this to find the right
entry in the `known_hosts` file, after having validated that the
hostname provided to the callback matches the hostname of the host
provided by the user.
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-02-11 12:52:55 +01:00
Hidde Beydals
c32d11c23b
Merge pull request #289 from fluxcd/alpine-3-13-pkgs
...
Use musl and libgit2 packages from v3.13 branch
2021-02-11 09:52:10 +01:00
Hidde Beydals
15ecae636a
Use musl and libgit2 packages from v3.13 branch
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-02-10 22:28:14 +01:00
Aurel Canciu
b501172ed3
Merge pull request #286 from DoodleScheduling/fix-valuesfile-write
...
Fix chart with custom valuesFile (0bytes tgz)
2021-02-09 19:05:28 +02:00
Raffael Sahli
1e19503359
break before default
...
Signed-off-by: Raffael Sahli <raffael.sahli@doodle.com>
2021-02-09 17:35:02 +01:00
Raffael Sahli
bc3c4e2a36
fixes writing chart twice which results in a 0bytes tgz
...
Signed-off-by: Raffael Sahli <raffael.sahli@doodle.com>
2021-02-09 10:17:07 +01:00
Hidde Beydals
568b2845c7
Merge pull request #270 from fluxcd/rename-git-pkgs
2021-02-08 14:28:37 +01:00
Hidde Beydals
fac1afa2a8
Move `git/common` to `git`
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-02-08 14:05:05 +01:00
Hidde Beydals
7e63ef841c
Rename Git packages to implementations
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-02-08 13:55:23 +01:00
Philip Laine
aaee43338e
Merge pull request #283 from fluxcd/feature/self-signed-certs
...
Add custom CA validation for Git over HTTPS
2021-02-08 13:08:22 +01:00
Philip Laine
c063484761
Add custom certificate validation
...
Signed-off-by: Philip Laine <philip.laine@gmail.com>
2021-02-08 12:19:22 +01:00
Stefan Prodan
a55a7141ab
Merge pull request #285 from fluxcd/fsGroup
...
Add fsGroup to pod security context
2021-02-08 11:38:20 +02:00
Stefan Prodan
9764598125
Update Alpine to v3.13
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-02-07 18:53:39 +02:00
Stefan Prodan
a24cabb4b9
Fix controller group in Alpine
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-02-07 18:47:52 +02:00
Stefan Prodan
e1ee5104e3
Add fsGroup to pod security context
...
Required for AWS IAM Role bindings
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-02-07 18:34:11 +02:00
Hidde Beydals
0465b122e5
Merge pull request #282 from fluxcd/pprof
...
Enable pprof endpoints on metrics server
2021-02-07 12:01:49 +01:00
Hidde Beydals
2764c00a7e
Enable pprof endpoints on metrics server
...
Using the helper from `pkg/runtime/pprof`, which follows the suggestion
from controller-runtime to use `AddMetricsExtraHandler`.
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-02-07 11:43:27 +01:00
Hidde Beydals
6871357340
Merge pull request #281 from fluxcd/release-v0.7.4
...
Release v0.7.4
2021-02-03 13:09:43 +01:00
Hidde Beydals
7ae5857e13
Release v0.7.4
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-02-03 12:53:00 +01:00
Hidde Beydals
ec05e0e172
Merge pull request #280 from runyontr/runyontr-279
...
Properly escape outer loop for present dependency
2021-02-02 16:50:06 +01:00
Thomas Runyon
8428054575
Properly escape outer loop for present dependency
...
To prevent dependencies that are already present locally to be included.
Signed-off-by: Thomas Runyon <runyontr@gmail.com>
2021-02-02 16:16:40 +01:00
Hidde Beydals
eca08f87c2
Merge pull request #278 from fluxcd/release-v0.7.3
...
Release v0.7.3
2021-02-02 12:30:47 +01:00
Hidde Beydals
cfab200bf6
Release v0.7.3
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-02-02 12:16:53 +01:00
Hidde Beydals
bc461da4c3
Merge pull request #276 from fluxcd/recreate-strategy
...
Use Recreate strategy for controller deployment
2021-02-02 12:13:07 +01:00