kubernetes/cmd/kube-controller-manager/app
Monis Khan cd91e59f7c
csr: add expirationSeconds field to control cert lifetime
This change updates the CSR API to add a new, optional field called
expirationSeconds.  This field is a request to the signer for the
maximum duration the client wishes the cert to have.  The signer is
free to ignore this request based on its own internal policy.  The
signers built-in to KCM will honor this field if it is not set to a
value greater than --cluster-signing-duration.  The minimum allowed
value for this field is 600 seconds (ten minutes).

This change will help enforce safer durations for certificates in
the Kube ecosystem and will help related projects such as
cert-manager with their migration to the Kube CSR API.

Future enhancements may update the Kubelet to take advantage of this
field when it is configured in a way that can tolerate shorter
certificate lifespans with regular rotation.

Signed-off-by: Monis Khan <mok@vmware.com>
2021-07-01 23:38:15 -04:00
..
config hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
options csr: add expirationSeconds field to control cert lifetime 2021-07-01 23:38:15 -04:00
testing refactor: disable insecure serving in controller-manager 2021-05-03 00:01:49 +08:00
apps.go Delete AvailableResources judgment for GA features 2021-05-31 11:13:15 +08:00
autoscaling.go Remove legacy metrics client from podautoscaler 2021-06-04 23:06:32 +02:00
batch.go Delete AvailableResources judgment for GA features 2021-05-31 11:13:15 +08:00
bootstrap.go Fix lint warnings in pkg/controller/bootstrap 2019-03-19 14:36:26 -04:00
certificates_test.go allow setting different certificates for kube-controller-managed CSR signers 2020-07-09 08:14:55 -04:00
certificates.go Delete AvailableResources judgment for GA features 2021-05-31 11:13:15 +08:00
cloudproviders.go Add DisableCloudProviders FG 2021-05-21 16:09:44 +02:00
controllermanager.go Merge pull request #96216 from knight42/refactor/disable-insecure-port-in-ctrler-mgr 2021-05-10 13:49:36 -07:00
core_test.go increase discovery burst for kube-controller-manager 2021-03-03 10:41:34 -05:00
core.go Refactor CSI migration plugin manager to get featureGates as a parameter 2021-03-08 13:50:01 +01:00
discovery.go Graduate EndpointSlice feature gate to GA 2021-03-06 15:58:47 -08:00
flags_providerless.go s/nolegacyproviders/providerless/ 2019-08-22 15:30:56 -07:00
flags_providers.go s/nolegacyproviders/providerless/ 2019-08-22 15:30:56 -07:00
import_known_versions.go remove pod presets 2020-09-14 09:24:40 -04:00
plugins_providerless.go fix providerless build post-CSI migration 2019-11-19 09:47:44 -08:00
plugins_providers.go Remove CSIMigrationVSphereComplete flag 2021-05-04 21:38:47 -07:00
plugins.go Remove scaleio from volume plugins 2021-05-19 10:35:21 -07:00
policy.go Making a run test. 2021-04-23 16:33:08 +08:00
rbac.go add debug handler capability for individual controllers 2018-07-26 13:24:36 -04:00