Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lakom uses warning instead of failure policy Ignore #74

Merged
merged 8 commits into from
Mar 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .reuse/dep5
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,6 @@ Copyright: Copyright 2021 The Sigstore Authors.
Modifications Copyright 2022 SAP SE or an SAP affiliate company and Gardener contributors
License: Apache-2.0

Files:
pkg/admission/admission_suite_test.go
pkg/admission/http.go
pkg/admission/http_test.go
Copyright: Copyright 2018 The Kubernetes Authors.
Modifications Copyright 2022 SAP SE or an SAP affiliate company and Gardener contributors
License: Apache-2.0

Files:
hack/cherry-pick-pull.sh
Copyright: Copyright 2015 The Kubernetes Authors.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ data:
kind: Configuration
cosignPublicKeys:
{{ toYaml .Values.controllers.cosignPublicKeys | indent 6 }}
failurePolicy: {{ .Values.controllers.failurePolicy }}
seedBootstrap:
ownerNamespace: {{ .Release.Namespace }}
useOnlyImagePullSecrets: {{ .Values.controllers.useOnlyImagePullSecrets }}
allowUntrustedImages: {{ .Values.controllers.allowUntrustedImages }}
debugConfig:
enableProfiling: {{ .Values.controllers.debugConfig.enableProfiling | default false }}
enableContentionProfiling: {{ .Values.controllers.debugConfig.enableContentionProfiling | default false }}
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ controllers:
# -----BEGIN PUBLIC KEY-----
# abcd
# -----END PUBLIC KEY-----
failurePolicy: Fail
healthPort: 8080
metricsPort: 8081
useOnlyImagePullSecrets: false
allowUntrustedImages: false
debugConfig:
enableProfiling: false
enableContentionProfiling: false
1 change: 1 addition & 0 deletions charts/lakom/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ spec:
- --kubeconfig=/etc/lakom/client/kubeconfig
{{- end }}
- --use-only-image-pull-secrets={{ .Values.useOnlyImagePullSecrets }}
- --insecure-allow-untrusted-images={{ .Values.allowUntrustedImages }}
{{- if .Values.resources }}
resources:
{{ toYaml .Values.resources | trim | indent 10 }}
Expand Down
2 changes: 1 addition & 1 deletion charts/lakom/templates/mutatingwebhookconfiguration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ webhooks:
namespace: {{ .Release.Namespace }}
path: /lakom/resolve-tag-to-digest
{{- end }}
failurePolicy: {{ .Values.admissionConfig.failurePolicy }}
failurePolicy: Fail
matchPolicy: Equivalent
name: resolve-tag.lakom.service.gardener.cloud
{{- if .Values.admissionConfig.namespaceSelector }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ webhooks:
namespace: {{ .Release.Namespace }}
path: /lakom/verify-cosign-signature
{{- end }}
failurePolicy: {{ .Values.admissionConfig.failurePolicy }}
failurePolicy: Fail
matchPolicy: Equivalent
name: verify-signature.lakom.service.gardener.cloud
{{- if .Values.admissionConfig.namespaceSelector }}
Expand Down
2 changes: 1 addition & 1 deletion charts/lakom/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ cosign:
# abcd
# -----END PUBLIC KEY-----
useOnlyImagePullSecrets: false
allowUntrustedImages: false
kubeconfig: {}
admissionConfig:
objectSelector: {}
Expand All @@ -41,7 +42,6 @@ admissionConfig:
values:
- "kube-system"
- "lakom-system"
failurePolicy: Fail
clientConfig:
caBundle: foo
urlHostname: ""
Expand Down
16 changes: 9 additions & 7 deletions cmd/lakom/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import (
goruntime "runtime"
"time"

"github.com/gardener/gardener-extension-shoot-lakom-service/pkg/admission"
"github.com/gardener/gardener-extension-shoot-lakom-service/pkg/constants"
"github.com/gardener/gardener-extension-shoot-lakom-service/pkg/lakom/resolvetag"
"github.com/gardener/gardener-extension-shoot-lakom-service/pkg/lakom/verifysignature"
Expand Down Expand Up @@ -99,6 +98,9 @@ type Options struct {
// UseOnlyImagePullSecrets sets only the image pull secrets of the pod to be used to access the OCI registry.
// Otherwise, also the node identity and docker config file are used.
UseOnlyImagePullSecrets bool
// AllowUntrustedImages configures the webhook to allow images without trusted signature.
// Instead to deny the request, the webhook will allow it with a warning.
AllowUntrustedImages bool
}

// AddFlags adds lakom admission controller's flags to the specified FlagSet.
Expand All @@ -114,6 +116,7 @@ func (o *Options) AddFlags(fs *pflag.FlagSet) {
fs.DurationVar(&o.CacheTTL, "cache-ttl", time.Minute*10, "TTL for the cached objects. Set to 0, if cache has to be disabled")
fs.DurationVar(&o.CacheRefreshInterval, "cache-refresh-interval", time.Second*30, "Refresh interval for the cached objects")
fs.BoolVar(&o.UseOnlyImagePullSecrets, "use-only-image-pull-secrets", false, "If set, only the credentials from the image pull secrets of the pod are used to access the OCI registry. Otherwise, the node identity and docker config are also used.")
fs.BoolVar(&o.AllowUntrustedImages, "insecure-allow-untrusted-images", false, "If set, the webhook will just return warning for the images without trusted signatures.")
}

// validate validates all the required options.
Expand Down Expand Up @@ -230,23 +233,22 @@ func (o *Options) Run(ctx context.Context) error {
WithCacheTTL(o.CacheTTL).
WithCacheRefreshInterval(o.CacheRefreshInterval).
WithUseOnlyImagePullSecrets(o.UseOnlyImagePullSecrets).
WithAllowUntrustedImages(o.AllowUntrustedImages).
Build()
if err != nil {
return err
}

server.Register(
constants.LakomResolveTagPath,
&admission.Server{
Webhook: webhook.Admission{Handler: imageTagResolverHandler},
Log: imageTagResolverHandler.GetLogger(),
&webhook.Admission{
Handler: imageTagResolverHandler,
},
)
server.Register(
constants.LakomVerifyCosignSignaturePath,
&admission.Server{
Webhook: webhook.Admission{Handler: cosignSignatureVerifyHandler},
Log: cosignSignatureVerifyHandler.GetLogger(),
&webhook.Admission{
Handler: cosignSignatureVerifyHandler,
},
)

Expand Down
2 changes: 1 addition & 1 deletion example/00-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ cosignPublicKeys:
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEyLVOS/TWANf6sZJPDzogodvDz8NT
hjZVcW2ygAvImCAULGph2fqGkNUszl7ycJH/Dntw4wMLSbstUZomqPuIVQ==
-----END PUBLIC KEY-----
failurePolicy: Fail
seedBootstrap:
ownerNamespace: lakom-extension
useOnlyImagePullSecrets: true
allowUntrustedImages: false
debugConfig:
enableProfiling: false
enableContentionProfiling: false
2 changes: 1 addition & 1 deletion example/controller-registration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: shoot-lakom-service
type: helm
providerConfig:
chart: H4sIAAAAAAAAA+0caW/bOLaf9Su46gymLUbynXQNdLFu4rZB28RIMt0dDBYBLTE2J5KoESWnnrb72/eRlGRdPpO66Y4eilSmeDyS7+ajJjiwiUcCg3wMiccp8ww+ZSw0HHzDXIOTYEYt0nh0F2gCHPZ68n+A4v/yudXpttq99sGBKG8dtru9R6h3p1E3hIiHOEDoUQCTXlVv3fvvFCab7b85JY5LJx4LyPZjiA0+6HaX7j9se37/261us/0INe9/umX4i+//YzTCYUgCj6OQIbXD6HZKPDSOqGNTb4J8bN3gCeGm9hhdTilHPPJ9FoTwAFThoInDxsjFoTWF2j+jgDg4pDMC7cJpphx7NnTgkQm8ZR564gfkmn4kNrqlUO9vT0105jlzxDzZUqCEfBIgh3rE1Mzji6uLEHCDLo6Y60IHH44ukE0DrpkTGjbkX4W+Zo7/DBryb1IwnTTEn+Qnn3mNRUdjmF/ko2vqEK49M/mtD3/H+Ab+hi48/xeqfsABZRFHJ8dDGNAP2O/ECjWT2gQ3VD0o0swZt5hNGtq33tXNYUP+P5riIDTn2HV2GGMd/7d73SL/tw47Nf/vA7BPP5BA7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6XL7/kB8E3xn3a/KP9b3fr7T4eBByH/M5w5qPpsr5a9WzNAHU1TOf/CG84k9J9en7FwLD6cJqVCiKcirw+MllCK2+RTkQNEooD5xLDFdZ/A9G+mpk3my6T++PP+DXWbKC1vZM9iKpDUqjLwQI4IUfMovo8/kM+FtMO4LI/jNWPmBAeVo+dbyXnOW2bb7GiFy6qJoajlDkaExIZFiZWL5UcD1Gu6WlYjtNrP3lIN5J6oE+vhNLOySnOV1UvSVb8LPW0StrpQ1rqmZcIM8iMGq+4ALO+hpFcdUg2avYcgyFgTd2LTmwobqqmTneRObzk3H6hP1Cx9vgf99h/Z5hFs7af4CbZZwIvRy9MzNP7lxZvTY/R69KssTKu02p1uvv7o7GRF7R27xhPL3qbrZer4AD1rPhPzy4R4ZJlQvSu/DpRsRfX3fpK3pY/4lD7hs7xatOYDPPfm+dRQQw011FBDDTXUUEMNNdRQw18H/gdOTLYjAHgAAA==
values:
image:
tag: v0.12.0-dev
Expand Down
24 changes: 12 additions & 12 deletions hack/api-reference/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,18 +67,6 @@ github.com/gardener/gardener/extensions/pkg/apis/config/v1alpha1.HealthCheckConf
</tr>
<tr>
<td>
<code>failurePolicy</code></br>
<em>
string
</em>
</td>
<td>
<em>(Optional)</em>
<p>FailurePolicy is the failure policy used to configure the failurePolicy of the lakom admission webhooks.</p>
</td>
</tr>
<tr>
<td>
<code>debugConfig</code></br>
<em>
<a href="#lakom.extensions.config.gardener.cloud/v1alpha1.DebugConfig">
Expand Down Expand Up @@ -116,6 +104,18 @@ bool
Otherwise, also the node identity and docker config file are used.</p>
</td>
</tr>
<tr>
<td>
<code>allowUntrustedImages</code></br>
<em>
bool
</em>
</td>
<td>
<p>AllowUntrustedImages sets lakom webhook to allow images without trusted signature.
Instead to deny the request, the webhook will allow it with a warning.</p>
</td>
</tr>
</tbody>
</table>
<h3 id="lakom.extensions.config.gardener.cloud/v1alpha1.DebugConfig">DebugConfig
Expand Down
40 changes: 0 additions & 40 deletions pkg/admission/admission_suite_test.go

This file was deleted.

Loading