kubernetes/pkg/controlplane
Taahir Ahmed 6a75e7c40c ClusterTrustBundles: Define types
This commit is the main API piece of KEP-3257 (ClusterTrustBundles).

This commit:

* Adds the certificates.k8s.io/v1alpha1 API group
* Adds the ClusterTrustBundle type.
* Registers the new type in kube-apiserver.
* Implements the type-specfic validation specified for
  ClusterTrustBundles:
  - spec.pemTrustAnchors must always be non-empty.
  - spec.signerName must be either empty or a valid signer name.
  - Changing spec.signerName is disallowed.
* Implements the "attest" admission check to restrict actions on
  ClusterTrustBundles that include a signer name.

Because it wasn't specified in the KEP, I chose to make attempts to
update the signer name be validation errors, rather than silently
ignored.

I have tested this out by launching these changes in kind and
manipulating ClusterTrustBundle objects in the resulting cluster using
kubectl.
2023-03-15 20:10:18 -07:00
..
controller consider default a system namespace to be managed by the namespace controller 2023-03-10 17:49:53 +00:00
reconcilers Fix endpoint reconciler failing to delete masterlease 2022-11-25 08:13:20 +00:00
storageversionhashdata The storage.k8s.io/v1beta1 API version of CSIStorageCapacity will no longer be served in v1.27. 2023-03-13 15:06:04 +08:00
client_util.go
controller_test.go refactor controlplane to use just one client-go 2022-07-16 13:36:32 +02:00
controller.go add repair loop 2023-03-14 22:58:11 +00:00
doc.go
import_known_versions_test.go
import_known_versions.go api: dynamic resource allocation API 2022-11-10 20:08:24 +01:00
instance_test.go plumb new ipallocators in the apiserver 2023-03-14 22:58:11 +00:00
instance.go ClusterTrustBundles: Define types 2023-03-15 20:10:18 -07:00
OWNERS
services.go