kubernetes/cmd/kube-controller-manager/app/options
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
..
attachdetachcontroller.go fix all the reference about the API packages change 2019-03-02 12:54:33 +08:00
cronjobcontroller.go add cronjob_controllerv2.go 2020-11-10 17:32:06 -05:00
csrsigningcontroller.go csr: add expirationSeconds field to control cert lifetime 2021-07-01 23:38:15 -04:00
daemonsetcontroller.go fix all the reference about the API packages change 2019-03-02 12:54:33 +08:00
deploymentcontroller.go fix all the reference about the API packages change 2019-03-02 12:54:33 +08:00
deprecatedcontroller.go get rid of copied fields in the options and using wraped componentconfig fields 2019-01-16 16:07:16 +08:00
endpointcontroller.go Add simple batching to endpoints controller 2019-07-24 11:36:53 +02:00
endpointslicecontroller.go Implement simple endpoint slice batching 2020-03-03 08:16:42 +01:00
endpointslicemirroringcontroller.go Enabling the EndpointSliceMirroring controller, adding related config 2020-07-06 12:43:34 -07:00
garbagecollectorcontroller.go fix all the reference about the API packages change 2019-03-02 12:54:33 +08:00
hpacontroller.go Remove legacy metrics client from podautoscaler 2021-06-04 23:06:32 +02:00
jobcontroller.go fix all the reference about the API packages change 2019-03-02 12:54:33 +08:00
namespacecontroller.go fix all the reference about the API packages change 2019-03-02 12:54:33 +08:00
nodeipamcontroller.go Set node cidr mask size ipv4/ipv6 config 2019-11-20 22:08:58 -08:00
nodelifecyclecontroller.go fix all the reference about the API packages change 2019-03-02 12:54:33 +08:00
options_test.go Remove legacy metrics client from podautoscaler 2021-06-04 23:06:32 +02:00
options.go refactor: disable insecure serving in controller-manager 2021-05-03 00:01:49 +08:00
persistentvolumebindercontroller.go cleanup: fix errors in wrapped format and log capitalization in controller 2021-04-22 15:40:54 +08:00
podgccontroller.go fix all the reference about the API packages change 2019-03-02 12:54:33 +08:00
replicasetcontroller.go fix all the reference about the API packages change 2019-03-02 12:54:33 +08:00
replicationcontroller.go fix all the reference about the API packages change 2019-03-02 12:54:33 +08:00
resourcequotacontroller.go fix all the reference about the API packages change 2019-03-02 12:54:33 +08:00
serviceaccountcontroller.go fix all the reference about the API packages change 2019-03-02 12:54:33 +08:00
statefulsetcontroller.go add flag concurrent-statefulset-syncs to kube-controller-manager (#79169) 2019-07-31 22:36:14 -07:00
ttlafterfinishedcontroller.go fix all the reference about the API packages change 2019-03-02 12:54:33 +08:00