avionix.kube.certificates¶
-
class
avionix.kube.certificates.CertificateSigningRequest(metadata, spec, api_version=None)¶ - Parameters
metadata (
ObjectMeta) – Nonespec (
CertificateSigningRequestSpec) – The certificate request itself and any additional information.api_version (
Optional[str]) – APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa
-
class
avionix.kube.certificates.CertificateSigningRequestCondition(last_update_time, message, reason, type)¶ - Parameters
last_update_time (
time) – timestamp for the last update to this conditionmessage (
str) – human readable message with details about the request statereason (
str) – brief reason for the request statetype (
str) – request approval state, currently Approved or Denied.
-
class
avionix.kube.certificates.CertificateSigningRequestList(metadata, items, api_version=None)¶ - Parameters
metadata (
ListMeta) – Noneitems (
List[CertificateSigningRequest]) – Noneapi_version (
Optional[str]) – APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa
-
class
avionix.kube.certificates.CertificateSigningRequestSpec(extra, groups, request, signer_name, usages, username, uid=None)¶ - Parameters
extra (
dict) – Extra information about the requesting user. See user.Info interface for details.groups (
List[str]) – Group information about the requesting user. See user.Info interface for details.request (
str) – Base64-encoded PKCS#10 CSR datasigner_name (
str) – Requested signer for the request. It is a qualified name in the form: scope-hostname.io/name. If empty, it will be defaulted: 1. If it’s a kubelet client certificate, it is assigned “kubernetes.io/kube-apiserver-client-kubelet”. 2. If it’s a kubelet serving certificate, it is assigned “kubernetes.io/kubelet-serving”. 3. 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.usages (
List[str]) – 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.12username (
str) – Information about the requesting user. See user.Info interface for details.uid (
Optional[str]) – UID information about the requesting user. See user.Info interface for details.