Adam Martin
f348fb8d4d
registry auth fix for copy
...
Signed-off-by: Adam Martin <adam.martin@rancherfederal.com >
2023-11-28 22:29:00 -05:00
Adam Martin
fe60b1fd1a
add retry logic
...
Signed-off-by: Adam Martin <adam.martin@rancherfederal.com >
2023-11-28 10:02:21 -05:00
Adam Martin
be486df762
fix carbide cosign repo path and perms
...
Signed-off-by: Adam Martin <adam.martin@rancherfederal.com >
2023-11-06 09:07:13 -05:00
Adam Martin
4d950f7b0a
Add OCI hauler manifests. ( #136 )
...
* pull carbide flavored hauler manifests from reg
* remove temp constant
* remove temp hardcoding
* add comments for new sync flags
* fixes for version and registry serve
* band-aid for store info... needs love
* add sbom to info logic
* adjust a few text descriptions
* adjust tag names with +
* removed testing file
Signed-off-by: Adam Martin <adam.martin@rancherfederal.com >
2023-11-03 12:44:05 -07:00
Adam Martin
f2b0c44af3
polish up cosign verify for hauler store sync
...
Signed-off-by: Adam Martin <adam.martin@rancherfederal.com >
2023-10-12 12:05:35 -04:00
Adam Martin
bb9a088a84
fixes and logging for cosign verify <iamge>
...
Signed-off-by: Adam Martin <adam.martin@rancherfederal.com >
2023-10-11 13:44:21 -04:00
Adam Martin
220eeedb2c
add cosign drop-in funcs
...
Signed-off-by: Adam Martin <adam.martin@rancherfederal.com >
2023-10-11 13:44:21 -04:00
Adam Martin
58c55d7aeb
add cosign logic
2023-10-11 13:44:21 -04:00
Adam Martin
214ed48829
updates to OCIL funcs to handle cosign changes
2023-10-11 13:43:19 -04:00
Adam Martin
7d6bbbc6fc
pull back in ocil
2023-10-11 13:40:42 -04:00
Josh Wolf
105fb3a119
ensure thick charts follow proper reference naming convention
2022-01-25 11:00:26 -07:00
Josh Wolf
c341929a57
add optional args to file name generation and discovery
2022-01-25 08:07:43 -07:00
Josh Wolf
dff591d08b
ensure k3s collection contents have default repo specified ( #109 )
...
ensure k3s collection contents have default repo specified
2022-01-24 17:03:07 -07:00
Josh Wolf
320a4af36a
add support for helm authentication when storing charts
2022-01-24 16:31:03 -07:00
Matt Nikkel
94268e38ba
Fix panic on empty target sources map
2022-01-13 13:57:28 -05:00
Matt Nikkel
ac52ad8260
Add ImageTxt tests
2022-01-13 13:57:27 -05:00
Matt Nikkel
6d9270106b
Add ImageTxt collection + storing logic
2022-01-13 13:43:22 -05:00
Matt Nikkel
cee4bddbc0
Add ImageTxts collection API definition
2022-01-13 13:20:24 -05:00
Josh Wolf
39dc1aac23
ensure charts are always given a version tag
2022-01-12 11:32:26 -07:00
Josh Wolf
8b372d8a20
factor out core oci logic into independent library (rancherfederal/ocil)
2022-01-12 09:47:09 -07:00
Josh Wolf
1030ed92a8
add some standardization to referencing unreferenced content
2021-12-13 13:23:08 -07:00
Josh Wolf
313c40bba8
standardize content naming for unnamed content
2021-12-13 12:00:41 -07:00
Josh Wolf
d31a17f411
ensure sync doesn't panic when given invalid or empty yaml content
2021-12-10 18:58:51 -07:00
Josh Wolf
d2d3183ef1
add support for local charts from directory or archives
2021-12-10 10:50:04 -07:00
Josh Wolf
e9bd38ca75
Merge pull request #98 from joshrwolf/oci
...
improve `store` implementation
2021-12-09 11:31:10 -07:00
Josh Wolf
697a9fe034
ensure each copy test is independent
2021-12-09 11:26:48 -07:00
Josh Wolf
98322f7b28
rename redundant Store.Store to Store.Content
2021-12-09 11:12:37 -07:00
Josh Wolf
cd93d7aaea
make our implementation of oci content store public, remove redundant wrapper Store methods in favor of OCI implementation, add tests for store.Copy*()
2021-12-09 11:09:09 -07:00
Matt Nikkel
4d676c632f
Add docs for public content fields
2021-12-08 14:52:09 -05:00
Matt Nikkel
40fb078106
Add chart name, repo, version fields
2021-12-08 14:35:30 -05:00
Matt Nikkel
49f9e96576
Add image ref field
2021-12-08 14:35:14 -05:00
Matt Nikkel
fd22f93348
Make file ref field public
2021-12-08 14:34:54 -05:00
Matt Nikkel
822a24d79d
Expose image OCI implementor publicly
2021-12-08 14:33:43 -05:00
Matt Nikkel
4e14688a9d
Expose file OCI implementor publicly
2021-12-08 14:32:23 -05:00
Josh Wolf
6c1640f694
ensure filetests share a setup/teardown
2021-12-08 11:21:36 -07:00
Josh Wolf
1d7ea22bb0
ensure content type for files is properly detected by getter, add test verifying this
2021-12-08 11:01:08 -07:00
Josh Wolf
85ae4205cd
remove store.List in favor of store.Walk, restructure store.Walk to walk index descriptors instead of manifests
2021-12-08 11:00:32 -07:00
Josh Wolf
395547ff90
better default support for registries requiring auth, and configurable for non-keychain uses
2021-12-08 09:33:21 -07:00
Josh Wolf
bb83d5ce5b
allow file content to be passed a custom config
2021-12-08 09:25:45 -07:00
Josh Wolf
49f7b5ea0e
add more public methods for building config files from any marshallable source
2021-12-08 09:25:27 -07:00
Josh Wolf
a6831454e5
use internal oci store for store content backing
2021-12-08 09:24:16 -07:00
Josh Wolf
e812c2107c
embrace the thick chart
2021-12-03 23:21:20 -07:00
Josh Wolf
a8e9d853db
update dependencies to play nicely with controller-manager
2021-12-03 23:10:55 -07:00
Josh Wolf
9d5fae4c1d
fix download/extract to use MapperStore
2021-12-03 20:19:55 -07:00
Josh Wolf
d55e7572e6
remove custom file store in favor of less hacky IoContentWriter extended on top of existing file store
2021-12-03 14:01:06 -07:00
Josh Wolf
c7ae551e6f
move types to constants
2021-12-03 14:00:20 -07:00
Josh Wolf
f0abcf162a
move servers to internal, we're not blowing any minds here
2021-12-02 08:12:26 -07:00
Josh Wolf
34836dacb0
add getter, store, and file tests
2021-12-01 22:49:16 -07:00
Josh Wolf
5855f79156
allow reference string to be passed to AddArtifact instead of name.ParseReference for ease of use, move reference validation within AddArtifact
2021-12-01 22:49:15 -07:00
Josh Wolf
d27ad7c7e8
add basic store tests
2021-12-01 22:49:15 -07:00