kubernetes/pkg/apis
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
..
abac Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
admission generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
admissionregistration Custom match criteria (#116350) 2023-03-15 17:23:15 -07:00
apidiscovery Add discovery types 2022-10-19 17:27:25 +00:00
apiserverinternal refactor: Change the users of IsQualifiedName to ValidateQualifiedName 2022-02-16 14:02:11 +08:00
apps Merge pull request #116561 from mattcary/ss-v1beta1-defaulter 2023-03-14 12:38:34 -07:00
authentication Merge pull request #114420 from bzsuni/bz/optimization 2023-03-09 21:33:37 -08:00
authorization Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
autoscaling Merge pull request #114902 from TommyStarK/pkg-apis/replace-deprecated-pointer-function 2023-03-09 21:34:15 -08:00
batch Add batch.kubernetes.io to labels created in the Job controller. 2023-03-11 12:27:38 +00:00
certificates ClusterTrustBundles: Define types 2023-03-15 20:10:18 -07:00
coordination Changed API field references and generated docs for coordination v1 and v1beta1 2022-11-16 22:15:58 +05:30
core Adding validation for topology annotations 2023-03-15 18:37:02 +00:00
discovery Updated: Redefine AppProtocol field description and add new standard values (#115433) 2023-03-14 19:26:33 -07:00
events generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
extensions Merge pull request #114902 from TommyStarK/pkg-apis/replace-deprecated-pointer-function 2023-03-09 21:34:15 -08:00
flowcontrol apiserver: update serialization version priority for flowcontrol API 2023-01-13 22:19:39 +08:00
imagepolicy Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
networking Merge pull request #115447 from kidddddddddddddddddddddd/ingress 2023-03-15 02:02:16 -07:00
node Merge pull request #114902 from TommyStarK/pkg-apis/replace-deprecated-pointer-function 2023-03-09 21:34:15 -08:00
policy Changes to pdb healthy policy api docs 2023-02-20 18:36:45 -05:00
rbac Add extra value validation for matchExpression field in LabelSelector 2022-11-07 20:48:21 -05:00
resource Merge pull request #116332 from klueska/extend-resourceclaimstatus 2023-03-14 19:26:50 -07:00
scheduling Change API field references for scheduling v1, v1alpha1 and v1beta1 2022-11-13 18:46:35 +05:30
storage Add featureGate to CSIDriver.SELinuxMount 2023-03-14 18:47:17 +01:00
OWNERS Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00