Commit 77f907f
authored
fix(registry): reintroduce option to skip tls verification (#312)
- Add WATCHTOWER_REGISTRY_TLS_SKIP and WATCHTOWER_REGISTRY_TLS_MIN_VERSION flags in flags.go
- Refactor auth.go with Client interface for improved testability
- Update manifest.go to support HTTP URLs with TLS skip
- Enhance digest.go to error on empty tokens
- Add tests for HTTP registries and malformed headers in auth_test.go, digest_test.go
- Update .mockery.yaml to v3.3.2 and generate AuthClient.go
- Reorganize and improve documentation navigation and arguments page
Closes #3091 parent 209c16a commit 77f907f
File tree
11 files changed
+1443
-452
lines changed- docs
- internal/flags
- pkg/registry
- auth
- mocks
- digest
- manifest
11 files changed
+1443
-452
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
| 145 | + | |
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
| 160 | + | |
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
| |||
0 commit comments