Sunny
c1723d4485
OCIRepo docs: auto-login setup details
...
Signed-off-by: Sunny <darkowlzz@protonmail.com>
2022-08-12 00:08:02 +05:30
Paulo Gomes
478a18299a
Merge pull request #861 from pjbgf/release-v0.26.1
...
Release v0.26.1
2022-08-11 14:44:13 +01:00
Paulo Gomes
718263ca45
Release v0.26.1
...
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-08-11 14:31:46 +01:00
Paulo Gomes
3e2de43b54
Merge pull request #859 from Santosh1176/fix-2952/sc
...
Enable panic recovery
2022-08-11 14:31:30 +01:00
Santosh Kaluskar
1ad2f004ac
Implementing RecoverPanic on reconcilers to ensure it recovers from panic instead of crashing the controller and Squashed commits.
...
Signed-off-by: Santosh Kaluskar <dtshbl@gmail.com>
2022-08-11 18:35:25 +05:30
Stefan Prodan
02ff549924
Merge pull request #860 from souleb/docs-using-auto-login
...
[OCI] Document Auto-Login usage in SC
2022-08-11 15:13:48 +03:00
Soule BA
0a390a0179
Document Auto-Login usage
...
If implemented, this provides examples on how to patch the
source-controller to enable auto-login.
Signed-off-by: Soule BA <soule@weave.works>
2022-08-11 13:25:05 +02:00
Paulo Gomes
f25287f067
Merge pull request #858 from pjbgf/ignore-ci
...
build: Ignore CI workflows for markdown files
2022-08-08 17:43:36 +01:00
Paulo Gomes
2ea8896c0b
build: Ignore CI workflows for markdown files
...
Running all CI tests at pull requests for some files is sub-optimal,
when a PR contain changes to a single file not checked by the tests.
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-08-08 16:22:45 +01:00
Stefan Prodan
f15d9c3825
Merge pull request #857 from fluxcd/release-v0.26.0
...
Release v0.26.0
2022-08-08 17:38:35 +03:00
Stefan Prodan
f648910f13
Release v0.26.0
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-08-08 17:01:22 +03:00
Stefan Prodan
6c215e9bf8
Merge pull request #856 from fluxcd/oci-chart-path
...
allow for charts from OCI registries to specify a chart path
2022-08-08 17:00:20 +03:00
Max Jonas Werner
64c1b065a8
allow for charts from OCI registries to specify a chart path
...
This change allows for a HelmRepository to point to e.g. "ghcr.io" and
then a HelmRelease pointing to the chart "stefanprodan/charts/podinfo"
in its `.spec.chart.spec.chart` field.
Related discussion: https://github.com/fluxcd/flux2/discussions/2959
Signed-off-by: Max Jonas Werner <max@e13.dev>
2022-08-08 15:44:43 +02:00
Stefan Prodan
1db1626fe1
Merge pull request #788 from fluxcd/oci
...
[RFC-0003] Implement OCIRepository reconciliation
2022-08-08 15:59:00 +03:00
Stefan Prodan
94e98ee5ca
Add the opencontainers annotations to API docs
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-08-08 12:58:04 +03:00
Stefan Prodan
1a59935858
Add OCI failure reasons to API
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-08-05 13:24:06 +03:00
Stefan Prodan
196641147e
API docs improvements
...
Co-authored-by: Paulo Gomes <paulo.gomes@weave.works>
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-08-05 12:21:47 +03:00
Stefan Prodan
c52576c151
Mark resource as stalled on invalid URL
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-08-04 16:52:55 +03:00
Stefan Prodan
63c94397f7
Implement OCI auth for cloud providers
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-08-04 13:29:03 +03:00
Stefan Prodan
8cc8798e6e
Add the provider field to the OCIRepository API
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-08-02 13:28:50 +03:00
Stefan Prodan
acc95d8c50
Add upstream source and revision to logs and events
...
Enrich the successful reconciliation event message with the upstream opencontainers annotations
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-08-02 13:11:15 +03:00
Stefan Prodan
799d7df457
Add filter option when running tests
...
Allow running specific controller tests by specifying a prefix e.g.
GO_TEST_PREFIX=TestOCI make test-ctrl
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-08-02 13:11:12 +03:00
Somtochi Onyekwere
25b88256ef
Add tests for reconcile delete
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2022-08-02 13:11:08 +03:00
Somtochi Onyekwere
eb40efea1c
reconcile artifact
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2022-08-02 13:07:08 +03:00
Somtochi Onyekwere
648beef063
Add test for reconcileArtifact
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2022-08-02 13:07:08 +03:00
Somtochi Onyekwere
e42e9d086c
Add tests for getArtifactURL
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2022-08-02 13:07:08 +03:00
Somtochi Onyekwere
b072d78874
Add tests for oci controller
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2022-08-02 13:07:07 +03:00
Stefan Prodan
05f9c0ee2b
Add the OCI metadata to the internal artifact
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-08-02 13:07:07 +03:00
Stefan Prodan
5072091eb5
Remove the default tag value from the CRD
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-08-02 13:07:07 +03:00
Stefan Prodan
ada42eeaa7
Remove `spec.verify` from the API
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-08-02 13:07:07 +03:00
Stefan Prodan
4b0729203b
Add OCIRepository API spec to docs
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-08-02 13:07:07 +03:00
Stefan Prodan
9a6ff19487
Normalise error messages
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-08-02 13:07:07 +03:00
Rashed Kamal
942d92834b
OCIRepository client cert auth
...
Signed-off-by: Rashed Kamal <krashed@vmware.com>
2022-08-02 13:07:07 +03:00
Stefan Prodan
4506acb9d6
Use the internal pkg to handle errors
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-08-02 13:07:06 +03:00
Stefan Prodan
ded0c2d78b
Add `oci://` prefix
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-08-02 13:07:06 +03:00
rashedkvm
c9f5af7ddc
Implements basic auth with static credentials OCIRepository
...
Signed-off-by: rashedkvm <krashed@vmware.com>
2022-08-02 13:07:06 +03:00
Stefan Prodan
768adc2dd9
Implement OCIRepository ref.semver
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-08-02 13:07:06 +03:00
Stefan Prodan
07466730c0
Implement OCIRepository controller for public repos
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-08-02 13:07:06 +03:00
Stefan Prodan
46fe7a389c
Add OCIRepository kind to v1beta2 API
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-08-02 13:07:05 +03:00
Stefan Prodan
b1a494993a
Merge pull request #786 from fluxcd/update/azure-sdk
...
Update Azure Go SDK
2022-08-02 11:33:42 +03:00
Philip Laine
0d633470eb
Update Azure Go SDK
...
Signed-off-by: Philip Laine <philip.laine@gmail.com>
2022-08-01 23:53:53 +02:00
Philip Laine
fdf6b01817
Update Azure Go SDK
...
Signed-off-by: Philip Laine <philip.laine@gmail.com>
2022-08-01 12:27:01 +03:00
Stefan Prodan
574bb4c5c5
Merge pull request #853 from pjbgf/remove-musl
...
Remove MUSL and enable threadless libgit2 support
2022-08-01 12:03:03 +03:00
Paulo Gomes
f51f9d3305
Remove MUSL and enable threadless libgit2 support
...
Use of MUSL was a temporary solution to mitigate cross-platform
issues while building openssl and libssh2. Since Unmanaged transport has
been deprecated, openssl and libssh2 dependencies are no longer required
and by extension MUSL.
Enables libgit2 threadless support and provides a regression assurance
for fluxcd/image-automation-controller#339 .
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-07-31 18:38:27 +01:00
Stefan Prodan
d9dfb9d79a
Merge pull request #816 from fluxcd/go-1-18
...
Upgrade to Go 1.18
2022-07-27 19:35:58 +03:00
Stefan Prodan
f2772eb9d3
Update Go to 1.18 in CI
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-07-27 19:02:19 +03:00
Philip Laine
b47d468e8f
Upgrade to go 1.18
...
Signed-off-by: Philip Laine <philip.laine@gmail.com>
2022-07-27 19:02:13 +03:00
Sunny
b7aa05ce66
Merge pull request #852 from fluxcd/cherry-pick-rel-v0.25.11
...
cherry-pick #851
2022-07-27 21:23:47 +05:30
Sunny
24df01c0ce
Release v0.25.11
...
Signed-off-by: Sunny <darkowlzz@protonmail.com>
2022-07-27 21:08:52 +05:30
Stefan Prodan
02874571d5
Merge pull request #848 from souleb/merge-helmchart-reconcile-test
...
Merge HelmChart Reconcile tests
2022-07-27 17:02:25 +03:00