Hidde Beydals
7cefdee6d8
Prevent HelmChart controller panic on init failure
...
The controller logic is a serious candidate to be refactored so that
errors can be taken into account better, and do not always result in a
requeue. But this will do for the time being.
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-12-16 15:25:17 +01:00
Hidde Beydals
57211bb4ad
Merge pull request #239 from fluxcd/safe-rel-path
2020-12-15 16:22:05 +01:00
Hidde Beydals
29a051c5f4
Refactor and document DependencyManager
...
Mostly to re-use the fields of the structure instead of copying things
around.
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-12-15 15:37:42 +01:00
Hidde Beydals
8d0b54e431
Make proper use of errgroup context
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-12-15 09:56:40 +01:00
Hidde Beydals
bc890874e1
Add safe guards for relative paths
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-12-15 09:56:40 +01:00
Hidde Beydals
1eb52ae235
Merge pull request #240 from fluxcd/gcp-bucket-support
...
Use ListObjects V1 fallback for GCS S3 endpoints
2020-12-15 09:54:08 +01:00
Hidde Beydals
9881bc2845
Use ListObjects V1 fallback for GCS S3 endpoints
...
As GCP's S3 interoperability does not implement the ListObjectsV2
implementation.
Ref: https://cloud.google.com/storage/docs/interoperability
> Note: While most actions are interoperable with the Amazon S3 V2 SDK,
> listing objects can only be performed using the Amazon S3 V1 list
> objects method.
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-12-15 09:41:45 +01:00
Stefan Prodan
b5af17310e
Merge pull request #238 from fluxcd/release-v0.5.4
...
Release v0.5.4
2020-12-12 14:46:54 +02:00
Stefan Prodan
fd08e9f678
Release v0.5.4
...
Fix for ARMv7
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-12-12 14:34:12 +02:00
Philip Laine
4020644f69
Merge pull request #237 from fluxcd/fix/arm-image
...
Add newer musl version to second image layer
2020-12-12 13:29:24 +01:00
Philip Laine
be5f4cb206
Add newer musl version to second image layer
...
Signed-off-by: Philip Laine <philip.laine@gmail.com>
2020-12-12 13:11:48 +01:00
Hidde Beydals
f334e094ac
Merge pull request #236 from fluxcd/release-v0.5.3
...
Release v0.5.3
2020-12-11 16:43:48 +01:00
Hidde Beydals
21a007e7eb
Release v0.5.3
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-12-11 16:29:43 +01:00
Hidde Beydals
2a10773135
Merge pull request #235 from fluxcd/gogit-commit-hash
...
Properly forward commit hash for go-git implementation
2020-12-11 16:20:54 +01:00
Hidde Beydals
8f2a920765
Properly forward commit hash for go-git impl
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-12-11 16:05:02 +01:00
Hidde Beydals
c602c5d850
Merge pull request #234 from fluxcd/release-v0.5.2
...
Release v0.5.2
2020-12-11 14:47:42 +01:00
Hidde Beydals
6520490c62
Release v0.5.2
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-12-11 14:33:22 +01:00
Hidde Beydals
b335878a16
Merge pull request #233 from fluxcd/storage-addr
...
Allow overwrite of advertised storage addr
2020-12-11 14:20:53 +01:00
Hidde Beydals
fa71f3269b
Allow overwrite of advertised storage addr
...
The added `--storage-adv-addr` flag allows overwriting the HTTP address
advertised in the status objects of the sources. This allows for finer
grain configuration in setups where a modified service is used, or where
the DNS resolution differs from the Kubernetes defaults.
When the flag is omitted, an attempt is made to determine the address
based on the configured `--storage-addr` and the `HOSTNAME`.
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-12-11 14:07:27 +01:00
Hidde Beydals
5843c52526
Merge pull request #232 from fluxcd/release-v0.5.1
...
Release v0.5.1
2020-12-10 00:35:23 +01:00
Hidde Beydals
e8888e2896
Release v0.5.1
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-12-10 00:22:32 +01:00
Philip Laine
af4e48937a
Merge pull request #231 from fluxcd/arm-debug
...
Upgrade to `musl>=1.2.0` to be able to provide ARMv7 build
2020-12-10 00:19:43 +01:00
Hidde Beydals
3feda81109
Tweak `musl` and `libgit2{-dev}` dependencies
...
* Use semver tidles to deal with future patch releases
* Install just `libgit2` in runtime container
* Add TODO / explanation for `musl` `1.2.x` dependency
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-12-10 00:05:58 +01:00
Philip Laine
7945f95180
Install musl edge version
...
Signed-off-by: Philip Laine <philip.laine@gmail.com>
2020-12-10 00:05:50 +01:00
Hidde Beydals
00309185ec
Merge pull request #230 from fluxcd/release-v0.5.0
2020-12-09 21:19:01 +01:00
Hidde Beydals
3fdd95713c
Release v0.5.0
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-12-09 19:15:20 +01:00
Hidde Beydals
6cc038b20b
Remove date from CHANGELOG version titles
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-12-09 18:55:51 +01:00
Hidde Beydals
3fbc5013fd
Merge pull request #229 from fluxcd/upgrade-deps
2020-12-09 18:42:12 +01:00
Hidde Beydals
830b350339
Upgrade dependencies
...
* `github.com/fluxcd/pkg/apis/meta` to `v0.5.0`
* `github.com/fluxcd/pkg/helmtestserver` to `v0.1.0`
* `github.com/fluxcd/pkg/runtime` to `v0.4.0`
* `helm.sh/helm/v3` to `v3.4.2`
* `k8s.io/{api,apimachinery,client-go}` to `v0.19.4`
* `sigs.k8s.io/controller-runtime` to `v0.6.4`
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-12-09 18:22:27 +01:00
Hidde Beydals
010893bb91
Merge pull request #228 from fluxcd/libgit2-from-src
2020-12-09 17:16:10 +01:00
Hidde Beydals
38e2e58c54
Use semver tidle range for `libgit2-dev` package
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-12-09 17:00:17 +01:00
Hidde Beydals
88c76c50a3
Document how to build libgit2 from source
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-12-09 17:00:17 +01:00
Hidde Beydals
2dd77724fc
Merge pull request #227 from fluxcd/chart-name-validation
...
Validate provided name for charts from HelmRepos
2020-12-09 15:53:25 +01:00
Hidde Beydals
5f3c014966
Validate provided name for charts from HelmRepos
...
Following the rules described in
https://helm.sh/docs/chart_best_practices/conventions/#chart-names .
This guards against people following the wrong guidance of Artifactory,
that supports and promotes repository indexes with e.g. '/' in the
chart names.
In a future version this should be moved to a validation webhook, but
there are still discussions ongoing around the TLS certificates for
this.
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-12-09 15:37:10 +01:00
Philip Laine
86712ff441
Merge pull request #213 from phillebaba/feature/git2go
...
Add git2go option to enable Azure DevOps
2020-12-08 12:45:43 +01:00
Philip Laine
847499be5e
Add libgit2 install instructions
...
Signed-off-by: Philip Laine <philip.laine@xenit.se>
2020-12-08 12:09:12 +01:00
Philip Laine
f044ebc253
Rename git2go option to libgit2
...
Signed-off-by: Philip Laine <philip.laine@xenit.se>
2020-12-06 23:19:57 +01:00
Philip Laine
1b4eacc588
Refactor argument name to enable git2go
...
Signed-off-by: Philip Laine <philip.laine@xenit.se>
2020-12-04 10:07:17 +01:00
Philip Laine
cb12736a84
Update pkg git server
...
Signed-off-by: Philip Laine <philip.laine@xenit.se>
2020-12-03 12:56:38 +01:00
Philip Laine
47e4e54550
Add test to show that libgit2 fails with self signed test
...
Signed-off-by: Philip Laine <philip.laine@gmail.com>
2020-12-02 23:28:32 +01:00
Philip Laine
6344528e4f
Fix smaller issues
...
Signed-off-by: Philip Laine <philip.laine@gmail.com>
2020-12-02 20:18:29 +01:00
Philip Laine
5ff65d7ae7
Add user support to git2go implementation
...
Signed-off-by: Philip Laine <philip.laine@gmail.com>
2020-12-02 20:18:29 +01:00
Philip Laine
934f5df668
Remove manifests run on dev deploy
...
Signed-off-by: Philip Laine <philip.laine@xenit.se>
2020-12-02 20:18:29 +01:00
Philip Laine
873c349647
Add libgit2 dev dependencies
...
Signed-off-by: Philip Laine <philip.laine@xenit.se>
2020-12-02 20:18:29 +01:00
Philip Laine
00b4010096
Add libgit2 to test dockerfile
...
Signed-off-by: Philip Laine <philip.laine@xenit.se>
2020-12-02 20:18:29 +01:00
Philip Laine
5da36ec864
Add docs for v2 compatibility
...
Signed-off-by: Philip Laine <philip.laine@xenit.se>
2020-12-02 20:18:29 +01:00
Philip Laine
4af072aec0
Generate docs
...
Signed-off-by: Philip Laine <philip.laine@xenit.se>
2020-12-02 20:18:29 +01:00
Philip Laine
2cb3754953
Add support for gitv2 servers
...
Signed-off-by: Philip Laine <philip.laine@xenit.se>
2020-12-02 20:18:29 +01:00
Michael Bridgen
aed11a171f
Merge pull request #222 from fluxcd/flux2-team
...
Share maintainers from fluxcd/flux2
2020-12-01 13:16:00 +00:00
Michael Bridgen
f4dd3308fe
Share maintainers from fluxcd/flux2
...
See https://github.com/fluxcd/flux2/discussions/515 .
Signed-off-by: Michael Bridgen <mikeb@squaremobius.net>
2020-12-01 12:20:27 +00:00