Commit ce4e9c6
committed
feat: add built-in Cosign verification for ClusterGKMCache with dual v2/v3 support
This commit removes ClusterGKMCache's dependency on Kyverno and implements
built-in signature verification directly in the admission webhook with
automatic Cosign v2 and v3 format detection.
Signed-off-by: Maryam Tahhan <[email protected]>1 parent 339ebeb commit ce4e9c6
File tree
2,975 files changed
+120697
-727138
lines changed- .github/workflows
- api/v1alpha1
- config/kyverno/policies
- docs/examples
- examples/cluster
- pkg
- cosign
- utils
- vendor
- cel.dev/expr
- cloud.google.com/go
- auth
- credentials
- internal
- externalaccountuser
- externalaccount
- gdch
- impersonate
- stsexchange
- grpctransport
- httptransport
- internal
- compute
- credsfile
- jwt
- transport
- cert
- oauth2adapt
- civil
- compute/metadata
- iam
- apiv1/iampb
- internal
- fields
- optional
- protostruct
- trace
- version
- longrunning
- autogen
- longrunningpb
- monitoring
- apiv3/v2
- monitoringpb
- internal
- spanner
- admin/database/apiv1
- databasepb
- apiv1
- spannerpb
- internal
- storage
- experimental
- internal
- apiv2
- storagepb
- github.com
- GoogleCloudPlatform
- grpc-gcp-go/grpcgcp
- grpc_gcp
- multiendpoint
- opentelemetry-operations-go
- detectors/gcp
- exporter/metric
- internal/resourcemapping
- avast/retry-go/v4
- cenkalti/backoff/v5
- cncf/xds/go
- udpa
- annotations
- type/v1
- xds
- annotations/v3
- core/v3
- data/orca/v3
- service/orca/v3
- type
- matcher/v3
- v3
- coreos/go-oidc/v3
- oidc
- docker/cli
- cli/config
- configfile
- memorystore
- types
- emicklei/go-restful/v3
- envoyproxy
- go-control-plane/envoy
- admin/v3
- annotations
- config
- accesslog/v3
- bootstrap/v3
- cluster/v3
- common/matcher/v3
- core/v3
- endpoint/v3
- listener/v3
- metrics/v3
- overload/v3
- rbac/v3
- route/v3
- tap/v3
- trace/v3
- data/accesslog/v3
- extensions
- clusters/aggregate/v3
- filters
- common/fault/v3
- http
- fault/v3
- rbac/v3
- router/v3
- network/http_connection_manager/v3
- load_balancing_policies
- client_side_weighted_round_robin/v3
- common/v3
- least_request/v3
- pick_first/v3
- ring_hash/v3
- wrr_locality/v3
- rbac/audit_loggers/stream/v3
- transport_sockets/tls/v3
- service
- discovery/v3
- load_stats/v3
- status/v3
- type
- http/v3
- matcher/v3
- metadata/v3
- tracing/v3
- v3
- protoc-gen-validate
- validate
- fxamacker/cbor/v2
- globocom/go-buffer
- go-chi/chi
- middleware
- v5
- middleware
- go-jose/go-jose/v4
- go-openapi
- analysis
- internal
- debug
- flatten
- normalize
- operations
- replace
- schutils
- sortref
- errors
- jsonpointer
- jsonreference
- internal
- loads
- runtime
- client
- logger
- middleware
- denco
- header
- untyped
- security
- yamlpc
- spec
- strfmt
- swag
- cmdutils
- conv
- fileutils
- jsonname
- jsonutils
- adapters
- ifaces
- stdlib/json
- loading
- mangling
- netutils
- stringutils
- typeutils
- yamlutils
- validate
- golang/groupcache
- lru
- googleapis
- enterprise-certificate-proxy
- client
- util
- gax-go/v2
- apierror
- internal/proto
- callctx
- internallog
- grpclog
- internal
- internal
- iterator
- google
- gnostic-models
- compiler
- jsonschema
- openapiv2
- openapiv3
- go-containerregistry/pkg/v1
- mutate
- remote
- transport
- s2a-go
- fallback
- internal
- authinfo
- handshaker
- service
- proto
- common_go_proto
- s2a_context_go_proto
- s2a_go_proto
- v2
- common_go_proto
- s2a_context_go_proto
- s2a_go_proto
- record
- internal
- aeadcrypter
- halfconn
- tokenmanager
- v2
- certverifier
- remotesigner
- tlsconfigstore
- retry
- stream
- grpc-ecosystem/grpc-gateway/v2
- protoc-gen-openapiv2/options
- runtime
- hashicorp
- go-cleanhttp
- go-retryablehttp
- golang-lru/v2
- internal
- simplelru
- josharian/intern
- letsencrypt/boulder
- core
- proto
- goodkey
- identifier
- probs
- revocation
- strictyaml
- mailru/easyjson
- buffer
- jlexer
- jwriter
- mitchellh/mapstructure
- modern-go/reflect2
- opentracing/opentracing-go
- ext
- log
- pelletier/go-toml/v2
- internal
- characters
- danger
- tracker
- unstable
- pkg/browser
- planetscale/vtprotobuf
- protohelpers
- types/known
- anypb
- durationpb
- emptypb
- structpb
- timestamppb
- wrapperspb
- prometheus
- client_golang/prometheus
- internal
- promhttp
- common
- expfmt
- model
- procfs
- internal
- fs
- util
- sagikazarmark/locafero
- sigstore
- cosign
- v2
- internal/pkg/cosign
- pkg
- cosign
- bundle
- oci
- layout
- remote
- signed
- static
- v3
- internal
- pkg
- cosign
- payload/size
- now
- oci/remote
- ui
- pkg
- blob
- cosign
- bundle
- env
- fulcioverifier/ctutil
- oci
- empty
- internal/signature
- layout
- remote
- signed
- static
- types
- fulcio/pkg/certificate
- rekor-tiles
- internal/tessera
- pkg
- generated/protobuf
- verify
- v2
- internal/safeint
- pkg
- client
- write
- generated/protobuf
- note
- types/verifier
- verify
- rekor/pkg
- client
- generated
- client
- entries
- index
- pubkey
- tlog
- models
- internal/log
- log
- pki
- pkitypes
- x509
- types
- dsse/v0.0.1
- hashedrekord/v0.0.1
- intoto
- v0.0.1
- v0.0.2
- rekord/v0.0.1
- util
- verify
- sigstore-go/pkg
- root
- sign
- tlog
- tuf
- repository
- util
- verify
- sigstore/pkg
- cryptoutils
- goodkey
- oauthflow
- oauth
- signature
- timestamp-authority
- pkg/verification
- v2
- pkg/verification
- sirupsen/logrus
- sourcegraph/conc
- internal/multierror
- iter
- panics
- spf13
- afero
- internal/common
- mem
- cast
- cobra
- viper
- internal
- encoding
- dotenv
- json
- toml
- yaml
- features
- spiffe/go-spiffe/v2
- bundle
- jwtbundle
- spiffebundle
- x509bundle
- internal
- cryptoutil
- jwtutil
- pemutil
- x509util
- spiffeid
- subosito/gotenv
- theupdateframework/go-tuf/v2/metadata/updater
- transparency-dev/tessera
- api
- layout
- client
- ctonly
- internal
- migrate
- otel
- parse
- stream
- witness
- storage
- gcp
- antispam
- internal
- zeebo/errs
- go.mongodb.org/mongo-driver/bson
- bsoncodec
- bsonrw
- go.opencensus.io
- internal
- tagencoding
- metric
- metricdata
- metricproducer
- resource
- stats
- internal
- view
- tag
- trace
- internal
- tracestate
- go.opentelemetry.io
- auto/sdk
- internal/telemetry
- contrib
- detectors/gcp
- instrumentation
- google.golang.org/grpc/otelgrpc
- internal
- net/http/otelhttp
- internal
- semconvutil
- semconv
- otel
- attribute
- internal
- baggage
- codes
- exporters/otlp/otlptrace
- internal/tracetransform
- otlptracegrpc
- internal/global
- metric
- propagation
- sdk
- internal/x
- metric
- exemplar
- internal
- aggregate
- x
- metricdata
- resource
- trace
- internal/x
- semconv
- internal/v2
- v1.17.0/httpconv
- v1.20.0
- v1.24.0
- v1.26.0
- v1.30.0
- v1.34.0
- httpconv
- v1.37.0
- httpconv
- otelconv
- trace
- internal/telemetry
- noop
- go.uber.org/zap
- zapcore
- golang.org/x
- crypto
- chacha20poly1305
- hkdf
- sha3
- mod/semver
- oauth2
- authhandler
- google
- externalaccount
- internal
- externalaccountauthorizeduser
- impersonate
- stsexchange
- jws
- jwt
- time/rate
- tools
- go
- ast/inspector
- packages
- types
- objectpath
- typeutil
- internal
- gcimporter
- stdlib
- typeparams
- typesinternal
- versions
- google.golang.org
- api
- googleapi
- transport
- iamcredentials/v1
- internal
- cert
- gensupport
- impersonate
- third_party/uritemplates
- iterator
- option
- internaloption
- storage/v1
- transport
- grpc
- http
- genproto
- googleapis
- api
- distribution
- label
- metric
- monitoredres
- rpc/code
- type
- calendarperiod
- date
- expr
- timeofday
- grpc
- authz/audit
- stdout
- balancer
- endpointsharding
- grpclb
- grpc_lb_v1
- lazy
- leastrequest
- pickfirst
- pickfirstleaf
- ringhash
- rls
- internal
- adaptive
- keys
- roundrobin
- weightedroundrobin
- internal
- weightedtarget
- weightedaggregator
- binarylog/grpc_binarylog_v1
- credentials
- alts
- internal
- authinfo
- conn
- handshaker
- service
- proto/grpc_gcp
- google
- oauth
- tls/certprovider
- pemfile
- encoding
- internal
- proto
- experimental
- opentelemetry
- stats
- health/grpc_health_v1
- internal
- admin
- balancergroup
- balancer
- gracefulswitch
- nop
- weight
- buffer
- cache
- channelz
- credentials
- spiffe
- xds
- envconfig
- googlecloud
- grpcsync
- hierarchy
- proto/grpc_lookup_v1
- resolver
- delegatingresolver
- dns
- ringhash
- stats
- transport
- wrr
- xds
- bootstrap
- tlscreds
- matcher
- rbac
- mem
- orca
- internal
- resolver
- manual
- ringhash
- stats
- opentelemetry
- internal
- tracing
- xds
- bootstrap
- csds
- googledirectpath
- internal
- balancer
- cdsbalancer
- clusterimpl
- clustermanager
- clusterresolver
- loadstore
- outlierdetection
- priority
- wrrlocality
- clusterspecifier
- rls
- httpfilter
- fault
- rbac
- router
- resolver
- internal
- server
- xdsclient
- internal
- load
- transport
- ads
- grpctransport
- lrs
- xdslbregistry
- converter
- xdsresource
- version
- protobuf
- internal
- filedesc
- version
- reflect/protodesc
- k8s.io
- apimachinery/pkg
- apis/meta
- internalversion/validation
- v1
- validation
- api
- errors
- operation
- safe
- validate
- constraints
- content
- validation
- labels
- runtime
- serializer/cbor
- direct
- internal/modes
- util
- diff
- errors
- managedfields
- internal
- runtime
- validation
- field
- yaml
- api
- admissionregistration/v1beta1
- apps
- v1beta1
- v1beta2
- v1
- authorization/v1
- autoscaling/v1
- batch/v1
- certificates
- v1alpha1
- v1beta1
- v1
- core/v1
- extensions/v1beta1
- networking
- v1alpha1
- v1
- resource
- v1alpha3
- v1beta1
- v1beta2
- v1
- storage
- v1alpha1
- v1beta1
- v1
- client-go
- applyconfigurations
- admissionregistration
- v1alpha1
- v1beta1
- v1
- apiserverinternal/v1alpha1
- apps
- v1beta1
- v1beta2
- v1
- autoscaling
- v1
- v2beta1
- v2beta2
- v2
- batch
- v1beta1
- v1
- certificates
- v1alpha1
- v1beta1
- v1
- coordination
- v1alpha2
- v1beta1
- v1
- core/v1
- discovery
- v1beta1
- v1
- events
- v1beta1
- v1
- extensions/v1beta1
- flowcontrol
- v1beta1
- v1beta2
- v1beta3
- v1
- internal
- meta/v1
- networking
- v1alpha1
- v1beta1
- v1
- node
- v1alpha1
- v1beta1
- v1
- policy
- v1beta1
- v1
- rbac
- v1alpha1
- v1beta1
- v1
- resource
- v1alpha3
- v1beta1
- v1beta2
- v1
- scheduling
- v1alpha1
- v1beta1
- v1
- storagemigration/v1alpha1
- storage
- v1alpha1
- v1beta1
- v1
- dynamic
- features
- gentype
- informers
- admissionregistration/v1beta1
- certificates/v1alpha1
- networking
- v1alpha1
- resource
- v1alpha3
- v1
- storage/v1
- kubernetes
- scheme
- typed
- admissionregistration/v1beta1
- certificates/v1alpha1
- networking/v1alpha1
- resource
- v1alpha3
- v1
- storage/v1
- listers
- admissionregistration/v1beta1
- certificates/v1alpha1
- networking/v1alpha1
- resource
- v1alpha3
- v1
- storage/v1
- metadata
- openapi
- pkg/version
- rest
- testing
- tools
- cache
- clientcmd/api
- v1
- leaderelection
- resourcelock
- util
- cert
- consistencydetector
- retry
- watchlist
- workqueue
- kube-openapi/pkg
- common
- schemaconv
- util/proto
- validation/strfmt
- utils
- buffer
- net
- sigs.k8s.io/structured-merge-diff
- v4
- fieldpath
- typed
- value
- v6
- fieldpath
- merge
- schema
- typed
- value
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
2,975 files changed
+120697
-727138
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
317 | | - | |
| 317 | + | |
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
323 | 323 | | |
324 | 324 | | |
325 | | - | |
| 325 | + | |
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
| |||
376 | 376 | | |
377 | 377 | | |
378 | 378 | | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
379 | 395 | | |
380 | 396 | | |
381 | 397 | | |
| |||
408 | 424 | | |
409 | 425 | | |
410 | 426 | | |
411 | | - | |
| 427 | + | |
412 | 428 | | |
413 | 429 | | |
414 | 430 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
5 | 8 | | |
| 9 | + | |
6 | 10 | | |
7 | 11 | | |
8 | 12 | | |
| |||
12 | 16 | | |
13 | 17 | | |
14 | 18 | | |
| 19 | + | |
15 | 20 | | |
16 | 21 | | |
17 | 22 | | |
| |||
38 | 43 | | |
39 | 44 | | |
40 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
41 | 50 | | |
42 | 51 | | |
43 | 52 | | |
| |||
57 | 66 | | |
58 | 67 | | |
59 | 68 | | |
60 | | - | |
| 69 | + | |
| 70 | + | |
61 | 71 | | |
62 | 72 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
88 | 87 | | |
89 | 88 | | |
90 | 89 | | |
91 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
92 | 109 | | |
93 | 110 | | |
94 | 111 | | |
| |||
104 | 121 | | |
105 | 122 | | |
106 | 123 | | |
107 | | - | |
108 | | - | |
109 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
110 | 128 | | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
115 | 132 | | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
120 | 140 | | |
121 | 141 | | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
122 | 146 | | |
123 | 147 | | |
124 | 148 | | |
| |||
136 | 160 | | |
137 | 161 | | |
138 | 162 | | |
| 163 | + | |
139 | 164 | | |
140 | 165 | | |
141 | 166 | | |
| |||
149 | 174 | | |
150 | 175 | | |
151 | 176 | | |
152 | | - | |
| 177 | + | |
153 | 178 | | |
154 | 179 | | |
155 | 180 | | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
165 | 187 | | |
166 | 188 | | |
167 | 189 | | |
| |||
179 | 201 | | |
180 | 202 | | |
181 | 203 | | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
5 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
6 | 10 | | |
7 | | - | |
8 | 11 | | |
9 | 12 | | |
0 commit comments