Aurel Canciu
946d1e6ac0
Remove use of chartutil.ProcessDependencies
...
It looks like the use of chartutil.ProcessDependencies in the HelmChart
Controller was not correct, this method seems to be used in Helm only
during install/upgrade. The intention was to load the dependencies but
this seems to not be needed as it's already done through the loaders
(loader.Load).
The use of this method caused a regression where Chart.yaml files would
be overwritten and registered subcharts that had aliases would be
renamed using the alias name. While this is an expected behaviour of
chartutil.ProcessDependencies it is not what the controller should do
to the chart during (re)packaging.
Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
2020-10-30 19:16:28 +02:00
Hidde Beydals
f60f7591e1
Merge pull request #186 from fluxcd/release-v0.2.0
...
Release v0.2.0
2020-10-29 12:49:08 +01:00
Hidde Beydals
a3f7b1d5b2
Release v0.2.0
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-10-29 12:35:51 +01:00
Hidde Beydals
0c43076a67
Merge pull request #175 from relu/gitrepository-helm-deps
2020-10-28 20:32:30 +01:00
Aurel Canciu
bfd8d4bc5a
Change copyright wording to accomodate convention
...
Re: fluxcd/toolkit#380
Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
2020-10-28 18:08:44 +02:00
Aurel Canciu
f1362bd3a9
Implement DepdendencyManager for non-packaged
...
Non-packaged charts that don't have their dependencies present in
charts/ will now have these dependencies built using the
DependencyManager. The idea behind it is to replicate the logic
implemeneted in Helm's downloader.Manager with the support for already
existing HelmRepository resources and their chart retrieval capabilities.
Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
2020-10-28 15:46:18 +02:00
Aurel Canciu
38317ab7c0
Extract HelmRepository secret retrieval
...
Method getHelmRepositorySecret on the HelmChartReconciler
Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
2020-10-28 15:27:11 +02:00
Aurel Canciu
f3370d8004
Extract chart repo url normalization logic
...
Move the logic to helm/utils exported as func
NormalizeChartRepositoryURL
Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
2020-10-28 14:57:12 +02:00
Aurel Canciu
ad995d80cc
Reorganize helm chart testdata for controllers
...
Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
2020-10-28 14:57:12 +02:00
Hidde Beydals
54aaef5380
Index HelmRepository resources by their URL
...
To facilitate an inexpensive lookup when collecting credentials and
index artifacts while working with chart dependencies.
Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
2020-10-28 14:57:12 +02:00
Stefan Prodan
c66425f5b5
Merge pull request #185 from fluxcd/rbac-finalizers
...
Add finalizers to RBAC
2020-10-28 14:53:52 +02:00
Stefan Prodan
08d98ff214
Add finalizers to RBAC
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-10-28 14:39:53 +02:00
Stefan Prodan
f1c8f03599
Merge pull request #184 from fluxcd/runtime-update
...
Update runtime metrics
2020-10-28 14:22:20 +02:00
Stefan Prodan
08c86bb2d0
Update fluxcd/pkg/runtime to v0.1.2
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-10-28 13:59:19 +02:00
Stefan Prodan
ea976cf63a
Update fossa action
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-10-28 13:59:03 +02:00
Stefan Prodan
95a98e079b
Merge pull request #183 from fluxcd/semver-docs
...
Change links to SemVer range docs
2020-10-28 13:58:29 +02:00
Hidde Beydals
b2aaf2932b
Change links to SemVer range docs
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-10-28 12:43:23 +01:00
Hidde Beydals
53554fbf98
Merge pull request #182 from fluxcd/use-pkg-version
...
Switch to Masterminds/semver and pkg/version libs
2020-10-28 12:37:53 +01:00
Hidde Beydals
c9eb8f03c0
Switch to Masterminds/semver and pkg/version libs
...
Co-authored-by: Illia Ovchynnikov <illia.ovchynnikov@gmail.com>
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-10-28 12:21:08 +01:00
Hidde Beydals
c74fca7a2b
Merge pull request #181 from fluxcd/api-doc-corrections
...
Various API doc corrections
2020-10-28 01:23:23 +01:00
Hidde Beydals
c657e68ba1
Various API doc corrections
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-10-28 01:09:21 +01:00
Hidde Beydals
a2537f8730
Merge pull request #172 from wingsofovnia/feature/chro-order
...
Pick the most recent chart/tag for ambiguous semver matches
2020-10-27 20:38:23 +01:00
Illia Ovchynnikov
394b5c3bd0
Pick the most recent chart/tag for ambiguous semver matches
...
Signed-off-by: Illia Ovchynnikov <illia.ovchynnikov@gmail.com>
2020-10-27 20:26:28 +01:00
Hidde Beydals
ae91271dc1
Merge pull request #180 from fluxcd/change-copyright-header
...
Change copyright to Flux authors
2020-10-27 18:09:26 +01:00
Hidde Beydals
582c2092b6
Change copyright to Flux authors
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-10-27 17:54:22 +01:00
Hidde Beydals
fea91bbd27
Merge pull request #178 from relu/support-packaged-chart
...
Add support for loading packaged charts
2020-10-27 11:21:40 +01:00
Aurel Canciu
684624b1a0
Add support for loading packaged helm charts
...
The feature allows the source-controller to load packaged helm charts
for HelmChart resource artifacts from GitRepository and Bucket sources
Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
2020-10-27 11:15:17 +02:00
Hidde Beydals
71e3000dde
Merge pull request #176 from fluxcd/finalizers
...
Switch to controller-runtime utils for finalizers
2020-10-21 12:07:09 +02:00
Hidde Beydals
504ae25954
Switch to controller-runtime utils for finalizers
2020-10-21 11:50:13 +02:00
Stefan Prodan
13e41aa332
Merge pull request #170 from fluxcd/clone-error
...
Add Git URL to clone error message
2020-10-16 16:32:32 +03:00
Stefan Prodan
13874ce552
Add Git URL to clone error message
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-10-16 15:58:09 +03:00
Stefan Prodan
db493dbee1
Merge pull request #168 from fluxcd/release-v0.1.1
...
Release v0.1.1
2020-10-13 18:14:01 +03:00
Stefan Prodan
987e562922
Release v0.1.1
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-10-13 17:52:59 +03:00
Stefan Prodan
369e078ef1
Merge pull request #167 from fluxcd/docs-add-ns
...
Add namespace to API docs examples
2020-10-13 17:27:04 +03:00
Stefan Prodan
4b33c816ef
Add namespace to API docs examples
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-10-13 17:05:22 +03:00
Stefan Prodan
281a0ee4f9
Merge pull request #166 from fluxcd/metrics
...
Implement Prometheus instrumentation
2020-10-13 15:00:03 +03:00
Stefan Prodan
03e32491bf
Implement Prometheus instrumentation
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-10-13 13:59:30 +03:00
Stefan Prodan
c8c2eec3a6
Update fluxcd/pkg/runtime to v0.1.0
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-10-13 13:34:47 +03:00
Stefan Prodan
198303a163
Merge pull request #164 from yiannistri/docs/add-interval
...
Add interval to a couple of examples in docs as it's now a required field
2020-10-06 15:43:42 +03:00
Yiannis
1707898426
Add interval to a couple of examples in docs as it is now a required
...
field
2020-10-06 11:06:18 +01:00
Hidde Beydals
20161ce310
Merge pull request #165 from fluxcd/e2e/fix-valuesfile-test
2020-10-06 11:08:13 +02:00
Hidde Beydals
335a091f60
Use GitHub actions from fluxcd/pkg@main
...
As `master` was replaced with `main`.
2020-10-06 10:37:15 +02:00
Hidde Beydals
f7ceac644d
e2e: use podinfo chart for valuesfile tests
2020-10-06 10:37:15 +02:00
Stefan Prodan
856a2187db
Merge pull request #163 from fluxcd/main-branch
...
Set default branch to main
2020-10-05 15:58:47 +03:00
stefanprodan
f81b479382
Set default branch to main
...
Signed-off-by: stefanprodan <stefan.prodan@gmail.com>
2020-10-05 15:42:37 +03:00
Hidde Beydals
2331334bd0
Merge pull request #162 from fluxcd/drop-gitops-system-ref
...
Drop `gitops-system` namespace reference from spec
2020-10-02 15:49:16 +02:00
Hidde Beydals
e7946f2827
Drop `gitops-system` namespace reference from spec
2020-10-02 13:19:01 +02:00
Hidde Beydals
6966ac06aa
Merge pull request #161 from fluxcd/release-v0.1.0
...
Release v0.1.0
2020-09-30 17:51:32 +02:00
Hidde Beydals
c176dcf3a9
Release v0.1.0
2020-09-30 17:37:23 +02:00
Hidde Beydals
d09494d319
Merge pull request #160 from fluxcd/config-samples-v1beta1
...
Rename samples to match `v1beta1` API
2020-09-30 17:21:54 +02:00