mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-09-30 04:03:09 +02:00
Check-in cosign public key and update README (#1611)
This commit is contained in:
@@ -89,6 +89,7 @@ _If you are interested in contributing to kaniko, see [DEVELOPMENT.md](DEVELOPME
|
|||||||
- [--whitelist-var-run](#--whitelist-var-run)
|
- [--whitelist-var-run](#--whitelist-var-run)
|
||||||
- [Debug Image](#debug-image)
|
- [Debug Image](#debug-image)
|
||||||
- [Security](#security)
|
- [Security](#security)
|
||||||
|
- [Verifying Signed Kaniko Images](#verifying-signed-kaniko-images)
|
||||||
- [Comparison with Other Tools](#comparison-with-other-tools)
|
- [Comparison with Other Tools](#comparison-with-other-tools)
|
||||||
- [Community](#community-1)
|
- [Community](#community-1)
|
||||||
- [Limitations](#limitations)
|
- [Limitations](#limitations)
|
||||||
@@ -777,6 +778,23 @@ use kaniko.
|
|||||||
|
|
||||||
You may be able to achieve the same default seccomp profile that Docker uses in your Pod by setting [seccomp](https://kubernetes.io/docs/concepts/policy/pod-security-policy/#seccomp) profiles with annotations on a [PodSecurityPolicy](https://cloud.google.com/kubernetes-engine/docs/how-to/pod-security-policies) to create or update security policies on your cluster.
|
You may be able to achieve the same default seccomp profile that Docker uses in your Pod by setting [seccomp](https://kubernetes.io/docs/concepts/policy/pod-security-policy/#seccomp) profiles with annotations on a [PodSecurityPolicy](https://cloud.google.com/kubernetes-engine/docs/how-to/pod-security-policies) to create or update security policies on your cluster.
|
||||||
|
|
||||||
|
|
||||||
|
### Verifying Signed Kaniko Images
|
||||||
|
kaniko images are signed for versions >= 1.5.2 using [cosign](https://github.com/sigstore/cosign)!
|
||||||
|
|
||||||
|
To verify a public image, install [cosign](https://github.com/sigstore/cosign) and use the provided [public key](cosign.pub):
|
||||||
|
|
||||||
|
```
|
||||||
|
$ cat cosign.pub
|
||||||
|
-----BEGIN PUBLIC KEY-----
|
||||||
|
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE9aAfAcgAxIFMTstJUv8l/AMqnSKw
|
||||||
|
P+vLu3NnnBDHCfREQpV/AJuiZ1UtgGpFpHlJLCNPmFkzQTnfyN5idzNl6Q==
|
||||||
|
-----END PUBLIC KEY-----
|
||||||
|
|
||||||
|
$ cosign verify -key ./cosign.pub gcr.io/kaniko-project/executor:latest
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## Kaniko Builds - Profiling
|
## Kaniko Builds - Profiling
|
||||||
If your builds are taking long, we recently added support to analyze kaniko function
|
If your builds are taking long, we recently added support to analyze kaniko function
|
||||||
calls using [Slow Jam](https://github.com/google/slowjam)
|
calls using [Slow Jam](https://github.com/google/slowjam)
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
-----BEGIN PUBLIC KEY-----
|
||||||
|
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE9aAfAcgAxIFMTstJUv8l/AMqnSKw
|
||||||
|
P+vLu3NnnBDHCfREQpV/AJuiZ1UtgGpFpHlJLCNPmFkzQTnfyN5idzNl6Q==
|
||||||
|
-----END PUBLIC KEY-----
|
||||||
Reference in New Issue
Block a user