File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
content/en/blog/_posts/2023-06-29-container-image-signature-verification Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
flowchart TD
2
2
A ( Create Policy\ninstance) --> | annotate namespace\nto validate signatures | B ( Create Pod)
3
- B --> C [ policy evaluation]
4
- C --> D [ fa:fa-check Admitted]
5
- C --> E [ fa:fa-xmark Not admitted]
3
+ B --> C { policy evaluation}
4
+ C --> | pass | D [ fa:fa-check Admitted]
5
+ C --> | fail | E [ fa:fa-xmark Not admitted]
6
6
D --> | if necessary | F [ Image Pull]
Original file line number Diff line number Diff line change @@ -171,9 +171,9 @@ for it:
171
171
FATA[…] pulling image: rpc error: code = Unknown desc = SignatureValidationFailed: Source image rejected: A signature was required, but no signature exists
172
172
```
173
173
174
- It's important to mention that CRI-O will match the
174
+ It is important to mention that CRI-O will match the
175
175
` .critical.identity.docker-reference ` field within the signature to match with
176
- the image repository. For example, if I verify the image
176
+ the image repository. For example, if you verify the image
177
177
` registry.k8s.io/kube-apiserver-amd64:v1.28.0-alpha.3 ` , then the corresponding
178
178
` docker-reference ` should be ` registry.k8s.io/kube-apiserver-amd64 ` :
179
179
@@ -204,7 +204,7 @@ asia-northeast2-docker.pkg.dev/k8s-artifacts-prod/images/kubernetes/kube-apiserv
204
204
```
205
205
206
206
The change of the ` docker-reference ` to ` registry.k8s.io ` makes it easier for
207
- end users to validate the signatures, because the cannot know anything about the
207
+ end users to validate the signatures, because they cannot know anything about the
208
208
underlying infrastructure being used. The feature to set the identity on image
209
209
signing has been added to [ cosign] [ cosign-pr ] via the flag `sign
210
210
--sign-container-identity` as well and will be part of its upcoming release.
You can’t perform that action at this time.
0 commit comments