Commit f8eff25
committed
sync: Report whether updates are verified and allow admin override
For safety, all unverified images are considered untrusted and the
CVO should not apply them. An admin may override this safe default
with force (which would be mapped to oc adm upgrade --force). When
this happens, we should communicate clearly which updates were
verified and which were not.
The CVO, unless configured otherwise, assumes everything is unverified.
The payload retriever uses the verifier to check the incoming image -
both tags or failed verification is reported to the user. If the admin
then sets allowUnverifiedImages, the sync loop continues.
Periodically in the background recheck any reconciling payload that
is unverified against the verifier, just in case it was a temporary
state.1 parent 73599c8 commit f8eff25
File tree
19 files changed
+879
-45
lines changed- pkg
- autoupdate
- cvo
- testdata/payloadtest-2
- manifests
- release-manifests
- payload
- start
- verify
19 files changed
+879
-45
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
181 | | - | |
| 181 | + | |
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
0 commit comments