Commit Graph

1395 Commits

Author SHA1 Message Date
Hidde Beydals 34c6c1e5e8
Merge pull request #223 from fluxcd/respect-ssh-user
Respect configured user in SSH Git repository URL
2020-11-30 16:42:49 +01:00
Hidde Beydals 67b10aad22 Respect configured user in SSH Git repository URL
We had a hardcoded assumption that the SSH user for a Git repository is
always "git". This is however not true in all scenarios, for example
when one is making use of Gerrit for team code collaboration, as users
there have their own username for (SSH) Git operations.

This commit changes the logic of the auth strategy helpers to:

1. Select the auth strategy based on the protocol of the parsed URL,
   instead of a simple rely on a correct prefix.
2. Use the user information from the parsed URL to configure the user
   for the public key authentication strategy, with a fallback to `git`
   if none is defined.

Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-11-30 16:26:23 +01:00
Stefan Prodan 1ea9999c2c
Merge pull request #219 from relu/gha-golang-container
Use golang image to run tests step
2020-11-28 11:32:37 +02:00
Aurel Canciu 27420c0454
Use golang image to run tests step
Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
2020-11-27 15:00:54 +02:00
Hidde Beydals e7acdabc79
Merge pull request #221 from fluxcd/release-v0.4.1
Release v0.4.1
2020-11-26 18:42:45 +01:00
Hidde Beydals 0e44d13870 Release v0.4.1
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-11-26 18:30:04 +01:00
Hidde Beydals a81e1ed3f9
Merge pull request #220 from fluxcd/req-helmchart-for-helmrepo
List HelmChart for GitRepository change
2020-11-26 18:27:16 +01:00
Hidde Beydals 254de30f6a List HelmChart for GitRepository change
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-11-26 18:03:04 +01:00
Hidde Beydals 3a3954fd8b
Merge pull request #218 from fluxcd/release-v0.4.0
Release v0.4.0
2020-11-26 15:07:02 +01:00
Hidde Beydals e19bb4e62d Release v0.4.0
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-11-26 14:41:56 +01:00
Hidde Beydals 9bd54a76ca
Merge pull request #217 from fluxcd/watch-upstream-chart-sources
Watch chart sources for revision changes
2020-11-26 14:29:45 +01:00
Hidde Beydals 0c904a1879 Watch chart sources for revision changes
To enqueue a new reconciliation for the HelmChart sources as soon as
the revision of their upstream source changes.

Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-11-26 13:02:55 +01:00
Stefan Prodan fdbd71b066
Merge pull request #215 from fluxcd/suspend
Implement source suspension
2020-11-26 13:11:40 +02:00
Stefan Prodan 5579dc8c96
Implement source suspension
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-11-26 12:58:00 +02:00
Stefan Prodan 07d09e2c2e
Add suspend field to Source API
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-11-26 12:49:12 +02:00
Stefan Prodan 32d4e77612
Merge pull request #212 from fluxcd/release-v0.3.0
Release v0.3.0
2020-11-19 19:22:11 +02:00
Stefan Prodan 81d8830aa4
Release v0.3.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-11-19 19:07:56 +02:00
Hidde Beydals 9c6c1a8547
Merge pull request #210 from fluxcd/reconcile-request-status
Add LastHandledReconcileAt to source statuses
2020-11-19 14:00:06 +01:00
Hidde Beydals 0b4586253c Add LastHandledReconcileAt to source statuses
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-11-19 13:21:59 +01:00
Stefan Prodan 55334695c1
Merge pull request #195 from relu/adopt-k8s-conditions
Refactor to adopt k8s standardized Condition type
2020-11-19 14:04:20 +02:00
Aurel Canciu b80f450b68
Switch to new pkg/apis/meta SetResourceCondition
Use SetResourceCondition as a generic method to set conditions for CRs,
implmeneting the ObjectWithStatusConditions interface used as input
type.

Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
2020-11-19 13:08:33 +02:00
Aurel Canciu 69f9bbdaa6
Use SetStatusCondition vs FilterOutCondition
Change to rely on the upstream k8s api/meta SetStatusCondition to
set/update the resources status conditions rather than
FilterOutCondition from apis/meta which is due to be removed.

Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
2020-11-19 13:08:33 +02:00
Aurel Canciu 00bb853d0e
Refactor to adopt k8s standardized Condition type
Updates to use metav1.Condition type and removes references for
deprecated corev1.Condition* constants and uses the new k8s api/meta
helpers in place of the old pkg/apis/meta types.

Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
2020-11-19 13:08:33 +02:00
Hidde Beydals 35c6fd7884
Merge pull request #209 from fluxcd/helm-dep-manager
Move Helm dependency manager to `helm` package
2020-11-19 10:03:31 +01:00
Hidde Beydals a3f177328a Move Helm dependency manager to `helm` package
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-11-19 09:50:50 +01:00
Hidde Beydals 1297f8bab6
Merge pull request #208 from fluxcd/gc-bugfix 2020-11-19 09:50:21 +01:00
Hidde Beydals 2f50e3ff59 Make GC behavior depend on deletion timestamp
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-11-18 23:03:44 +01:00
Hidde Beydals 93d1559b50 Prevent GC from wiping artifacts in the same NS
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-11-18 22:56:08 +01:00
Stefan Prodan d326ae4547
Merge pull request #203 from fluxcd/release-v0.2.2
Release v0.2.2
2020-11-12 17:41:51 +02:00
Stefan Prodan 33a693060b
Release v0.2.2
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-11-12 17:27:43 +02:00
Stefan Prodan 5fcbfd3a8b
Merge pull request #202 from fluxcd/patch-status
Patch status sub-resource
2020-11-12 17:22:26 +02:00
Stefan Prodan be818469ea
Print controller logs in CI
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-11-12 17:02:40 +02:00
Stefan Prodan 81d3ecf612
Patch status sub-resource
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-11-12 17:02:39 +02:00
Stefan Prodan d8c09239c4
Merge pull request #201 from fluxcd/kind-update
Update engineerd/setup-kind to v0.5.0
2020-11-12 12:30:37 +02:00
Stefan Prodan ef5749105d
Update engineerd/setup-kind to v0.5.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-11-12 12:07:35 +02:00
Stefan Prodan 58e39978f7
Merge pull request #198 from tvi/patch-1
docs: minor typo fix
2020-11-08 09:43:26 +02:00
Tomas Virgl d55b37e838 docs: minor typo fix
Signed-off-by: Tomas Virgl <tomas@virgl.net>
2020-11-08 00:59:09 +01:00
Stefan Prodan 0eecfe57cc
Merge pull request #179 from phillebaba/fix/default-values
Set default values in api objects
2020-11-03 16:50:17 +02:00
Philip Laine 0596513afd Add documentation for kind string constants
Signed-off-by: Philip Laine <philip.laine@xenit.se>
2020-11-02 09:55:39 +01:00
Philip Laine c0ee546ce8 Generate CRDs
Signed-off-by: Philip Laine <philip.laine@xenit.se>
2020-11-02 09:55:39 +01:00
Philip Laine 01d0053871 Fix duration default values
Signed-off-by: Philip Laine <philip.laine@xenit.se>
2020-11-02 09:55:39 +01:00
Philip Laine d67dd6cd58 Set default values in api objects
Signed-off-by: Philip Laine <philip.laine@xenit.se>
2020-11-02 09:55:39 +01:00
Stefan Prodan aa49afbd8a
Merge pull request #190 from relu/k8s-v1.19
Update k8s to 1.19
2020-11-02 10:53:16 +02:00
Aurel Canciu 60d1dc8219
Update pkg components and k8s to 1.19
Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
2020-11-01 18:11:27 +02:00
Hidde Beydals aab1fb44ab
Merge pull request #189 from relu/helm-3.4
Helm dependency update to v3.4.0
2020-10-30 20:57:06 +01:00
Aurel Canciu adb9f86fee
Helm dependency update to v3.4.0
Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
2020-10-30 21:41:30 +02:00
Hidde Beydals 7ef207a8ba
Merge pull request #188 from fluxcd/release-v0.2.1
Release v0.2.1
2020-10-30 20:17:07 +01:00
Hidde Beydals 08c4254464 Release v0.2.1
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-10-30 19:59:21 +01:00
Hidde Beydals d7e3130cc0
Merge pull request #187 from relu/fix-aliased-subcharts-handling 2020-10-30 19:43:17 +01:00
Aurel Canciu 960ad882c7
Refactor dependency_manager_tests.go
Cleanup some bits especially in the local chart suite.

Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
2020-10-30 19:16:28 +02:00