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
Hidde Beydals
16c6a07504
Use Recreate strategy for controller deployment
...
- Prevents a deadlock in active-passive HA setups with multiple
replicas and during upgrades that previously occurred. As the
leader election would be held hostage by the previous replica
set due to the rolling update strategy.
- Ensures backing persistent (RW) volumes can safely be used, as
they can not be shared and will not become available to the next
pod without recreating all.
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-02-02 11:40:52 +01:00
Hidde Beydals
8e147bcdbb
Merge pull request #275 from fluxcd/release-v0.7.2
...
Release v0.7.2
2021-02-01 16:08:36 +01:00
Hidde Beydals
77d28a0ed0
Release v0.7.2
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-02-01 15:55:39 +01:00
Hidde Beydals
2649237d68
Merge pull request #274 from fluxcd/typo-fix
2021-02-01 15:27:33 +01:00
Hidde Beydals
fcc5fc8d32
typo: 'seperated' -> 'separated'
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-02-01 15:14:13 +01:00
Hidde Beydals
65bebebb0c
Merge pull request #273 from fluxcd/start-fs-on-leader-election
2021-02-01 15:13:56 +01:00
Hidde Beydals
c665907540
Use controller-runtime health probe for liveness
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-02-01 15:00:17 +01:00
Hidde Beydals
3fd74bb938
Enable controller-runtime probes
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-02-01 15:00:17 +01:00
Hidde Beydals
47a565866b
Start file server on leader election
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-02-01 15:00:12 +01:00
Hidde Beydals
8277eb7463
Merge pull request #271 from fluxcd/verbose-chart-name-validation
...
Be more verbose about invalid chart name
2021-01-29 15:46:17 +01:00
Hidde Beydals
2c09df6570
Be more verbose about invalid chart name
...
Includes a change to _not_ requeue after validation failure, as
there is no chance on recovery.
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-01-29 15:26:54 +01:00
Hidde Beydals
7012579b3f
Merge pull request #269 from fluxcd/local-helm-chart-dep-fix
...
Assume local dependency without Helm repository
2021-01-28 12:41:38 +01:00
Hidde Beydals
3cdc897236
Assume local dependency without Helm repository
...
This commit fixes a bug where local chart dependencies would not be
detected correctly due to the absence of a repository URL.
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-01-28 12:28:19 +01:00
Hidde Beydals
83da57d7d9
Merge pull request #268 from fluxcd/release-v0.7.1
...
Release v0.7.1
2021-01-25 23:28:40 +01:00
Hidde Beydals
144754112b
Release v0.7.1
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-01-25 23:02:05 +01:00
Hidde Beydals
aae1a052ca
Merge pull request #267 from martinezleoml/FIX/helm-repository-unchanged-index
...
Rely on index checksum for HelmRepository reconcile operation
2021-01-25 20:50:07 +01:00
Léo Martinez
c1512d34a0
rely on index checksum for HelmRepository reconcile operation
...
Fixes #256
Signed-off-by: Léo Martinez <leo84.martinez@gmail.com>
2021-01-25 19:11:57 +01:00
Hidde Beydals
ab6ceb0de7
Merge pull request #266 from fluxcd/release-v0.7.0
...
Release v0.7.0
2021-01-21 17:07:54 +00:00
Hidde Beydals
2effa7c0b6
Release v0.7.0
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-01-21 17:43:57 +01:00
Stefan Prodan
0864abac7e
Merge pull request #265 from fluxcd/pkg/runtime-v0.8.0
...
Update fluxcd/pkg/runtime to v0.8.0
2021-01-21 16:00:48 +02:00
Stefan Prodan
207ed99d72
Use LocalObjectReference from fluxcd/pkg/meta v0.7
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-01-21 14:18:42 +02:00
Stefan Prodan
8e3700ebd8
Add QPS/Burst flags using fluxcd/pkg/runtime v0.8
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-01-21 14:13:07 +02:00
Stefan Prodan
2dac836772
Merge pull request #264 from fluxcd/fix-zero-len-values-file-override
...
Fix values file override
2021-01-21 14:03:51 +02:00