package certificateSigningRequestSpec
This information is immutable after the request is created. Only the Request and Usages fields can be set on creation, other fields are derived by Kubernetes and cannot be modified by users.
Index
fn withExtra(extra)
fn withExtraMixin(extra)
fn withGroups(groups)
fn withGroupsMixin(groups)
fn withRequest(request)
fn withSignerName(signerName)
fn withUid(uid)
fn withUsages(usages)
fn withUsagesMixin(usages)
fn withUsername(username)
Fields
fn withExtra
withExtra(extra)
Extra information about the requesting user. See user.Info interface for details.
fn withExtraMixin
withExtraMixin(extra)
Extra information about the requesting user. See user.Info interface for details.
Note: This function appends passed data to existing values
fn withGroups
withGroups(groups)
Group information about the requesting user. See user.Info interface for details.
fn withGroupsMixin
withGroupsMixin(groups)
Group information about the requesting user. See user.Info interface for details.
Note: This function appends passed data to existing values
fn withRequest
withRequest(request)
Base64-encoded PKCS#10 CSR data
fn withSignerName
withSignerName(signerName)
Requested signer for the request. It is a qualified name in the form: scope-hostname.io/name
. If empty, it will be defaulted:
- If it’s a kubelet client certificate, it is assigned ‘kubernetes.io/kube-apiserver-client-kubelet’.
- If it’s a kubelet serving certificate, it is assigned ‘kubernetes.io/kubelet-serving’.
- Otherwise, it is assigned ‘kubernetes.io/legacy-unknown’.
Distribution of trust for signers happens out of band. You can select on this field using
spec.signerName
.
fn withUid
withUid(uid)
UID information about the requesting user. See user.Info interface for details.
fn withUsages
withUsages(usages)
allowedUsages specifies a set of usage contexts the key will be valid for. See: https://tools.ietf.org/html/rfc5280#section-4.2.1.3 https://tools.ietf.org/html/rfc5280#section-4.2.1.12
fn withUsagesMixin
withUsagesMixin(usages)
allowedUsages specifies a set of usage contexts the key will be valid for. See: https://tools.ietf.org/html/rfc5280#section-4.2.1.3 https://tools.ietf.org/html/rfc5280#section-4.2.1.12
Note: This function appends passed data to existing values
fn withUsername
withUsername(username)
Information about the requesting user. See user.Info interface for details.