config/crds/resources/apiextensions.k8s.io_v1_customresourcedefinition_privatecacapools.privateca.cnrm.cloud.google.com.yaml (501 lines of code) (raw):
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
cnrm.cloud.google.com/version: 0.0.0-dev
creationTimestamp: null
labels:
cnrm.cloud.google.com/dcl2crd: "true"
cnrm.cloud.google.com/managed-by-kcc: "true"
cnrm.cloud.google.com/stability-level: stable
cnrm.cloud.google.com/system: "true"
name: privatecacapools.privateca.cnrm.cloud.google.com
spec:
group: privateca.cnrm.cloud.google.com
names:
categories:
- gcp
kind: PrivateCACAPool
plural: privatecacapools
shortNames:
- gcpprivatecacapool
- gcpprivatecacapools
singular: privatecacapool
preserveUnknownFields: false
scope: Namespaced
versions:
- additionalPrinterColumns:
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
- description: When 'True', the most recent reconcile of the resource succeeded
jsonPath: .status.conditions[?(@.type=='Ready')].status
name: Ready
type: string
- description: The reason for the value in 'Ready'
jsonPath: .status.conditions[?(@.type=='Ready')].reason
name: Status
type: string
- description: The last transition time for the value in 'Status'
jsonPath: .status.conditions[?(@.type=='Ready')].lastTransitionTime
name: Status Age
type: date
name: v1beta1
schema:
openAPIV3Schema:
properties:
apiVersion:
description: '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/api-conventions.md#resources'
type: string
kind:
description: 'kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
properties:
issuancePolicy:
description: Optional. The IssuancePolicy to control how Certificates
will be issued from this CaPool.
properties:
allowedIssuanceModes:
description: Optional. If specified, then only methods allowed
in the IssuanceModes may be used to issue Certificates.
properties:
allowConfigBasedIssuance:
description: Optional. When true, allows callers to create
Certificates by specifying a CertificateConfig.
type: boolean
allowCsrBasedIssuance:
description: Optional. When true, allows callers to create
Certificates by specifying a CSR.
type: boolean
type: object
allowedKeyTypes:
description: Optional. If any AllowedKeyType is specified, then
the certificate request's public key must match one of the key
types listed here. Otherwise, any key may be used.
items:
properties:
ellipticCurve:
description: Represents an allowed Elliptic Curve key type.
properties:
signatureAlgorithm:
description: 'Optional. A signature algorithm that must
be used. If this is omitted, any EC-based signature
algorithm will be allowed. Possible values: EC_SIGNATURE_ALGORITHM_UNSPECIFIED,
ECDSA_P256, ECDSA_P384, EDDSA_25519'
type: string
type: object
rsa:
description: Represents an allowed RSA key type.
properties:
maxModulusSize:
description: Optional. The maximum allowed RSA modulus
size, in bits. If this is not set, or if set to zero,
the service will not enforce an explicit upper bound
on RSA modulus sizes.
format: int64
type: integer
minModulusSize:
description: Optional. The minimum allowed RSA modulus
size, in bits. If this is not set, or if set to zero,
the service-level min RSA modulus size will continue
to apply.
format: int64
type: integer
type: object
type: object
type: array
baselineValues:
description: Optional. A set of X.509 values that will be applied
to all certificates issued through this CaPool. If a certificate
request includes conflicting values for the same properties,
they will be overwritten by the values defined here. If a certificate
request uses a CertificateTemplate that defines conflicting
predefined_values for the same properties, the certificate issuance
request will fail.
properties:
additionalExtensions:
description: Optional. Describes custom X.509 extensions.
items:
properties:
critical:
description: Optional. Indicates whether or not this
extension is critical (i.e., if the client does not
know how to handle this extension, the client should
consider this to be an error).
type: boolean
objectId:
description: Required. The OID for this X.509 extension.
properties:
objectIdPath:
description: Required. The parts of an OID path.
The most significant parts of the path come first.
items:
format: int64
type: integer
type: array
required:
- objectIdPath
type: object
value:
description: Required. The value of this X.509 extension.
type: string
required:
- objectId
- value
type: object
type: array
aiaOcspServers:
description: Optional. Describes Online Certificate Status
Protocol (OCSP) endpoint addresses that appear in the "Authority
Information Access" extension in the certificate.
items:
type: string
type: array
caOptions:
description: Optional. Describes options in this X509Parameters
that are relevant in a CA certificate.
properties:
isCa:
description: Optional. Refers to the "CA" X.509 extension,
which is a boolean value. When this value is missing,
the extension will be omitted from the CA certificate.
type: boolean
maxIssuerPathLength:
description: Optional. Refers to the path length restriction
X.509 extension. For a CA certificate, this value describes
the depth of subordinate CA certificates that are allowed.
If this value is less than 0, the request will fail.
If this value is missing, the max path length will be
omitted from the CA certificate.
format: int64
type: integer
zeroMaxIssuerPathLength:
description: Optional. When true, the "path length constraint"
in Basic Constraints extension will be set to 0. if
both max_issuer_path_length and zero_max_issuer_path_length
are unset, the max path length will be omitted from
the CA certificate.
type: boolean
type: object
keyUsage:
description: Optional. Indicates the intended use for keys
that correspond to a certificate.
properties:
baseKeyUsage:
description: Describes high-level ways in which a key
may be used.
properties:
certSign:
description: The key may be used to sign certificates.
type: boolean
contentCommitment:
description: The key may be used for cryptographic
commitments. Note that this may also be referred
to as "non-repudiation".
type: boolean
crlSign:
description: The key may be used sign certificate
revocation lists.
type: boolean
dataEncipherment:
description: The key may be used to encipher data.
type: boolean
decipherOnly:
description: The key may be used to decipher only.
type: boolean
digitalSignature:
description: The key may be used for digital signatures.
type: boolean
encipherOnly:
description: The key may be used to encipher only.
type: boolean
keyAgreement:
description: The key may be used in a key agreement
protocol.
type: boolean
keyEncipherment:
description: The key may be used to encipher other
keys.
type: boolean
type: object
extendedKeyUsage:
description: Detailed scenarios in which a key may be
used.
properties:
clientAuth:
description: Corresponds to OID 1.3.6.1.5.5.7.3.2.
Officially described as "TLS WWW client authentication",
though regularly used for non-WWW TLS.
type: boolean
codeSigning:
description: Corresponds to OID 1.3.6.1.5.5.7.3.3.
Officially described as "Signing of downloadable
executable code client authentication".
type: boolean
emailProtection:
description: Corresponds to OID 1.3.6.1.5.5.7.3.4.
Officially described as "Email protection".
type: boolean
ocspSigning:
description: Corresponds to OID 1.3.6.1.5.5.7.3.9.
Officially described as "Signing OCSP responses".
type: boolean
serverAuth:
description: Corresponds to OID 1.3.6.1.5.5.7.3.1.
Officially described as "TLS WWW server authentication",
though regularly used for non-WWW TLS.
type: boolean
timeStamping:
description: Corresponds to OID 1.3.6.1.5.5.7.3.8.
Officially described as "Binding the hash of an
object to a time".
type: boolean
type: object
unknownExtendedKeyUsages:
description: Used to describe extended key usages that
are not listed in the KeyUsage.ExtendedKeyUsageOptions
message.
items:
properties:
objectIdPath:
description: Required. The parts of an OID path.
The most significant parts of the path come first.
items:
format: int64
type: integer
type: array
required:
- objectIdPath
type: object
type: array
type: object
policyIds:
description: Optional. Describes the X.509 certificate policy
object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.
items:
properties:
objectIdPath:
description: Required. The parts of an OID path. The
most significant parts of the path come first.
items:
format: int64
type: integer
type: array
required:
- objectIdPath
type: object
type: array
type: object
identityConstraints:
description: Optional. Describes constraints on identities that
may appear in Certificates issued through this CaPool. If this
is omitted, then this CaPool will not add restrictions on a
certificate's identity.
properties:
allowSubjectAltNamesPassthrough:
description: Required. If this is true, the SubjectAltNames
extension may be copied from a certificate request into
the signed certificate. Otherwise, the requested SubjectAltNames
will be discarded.
type: boolean
allowSubjectPassthrough:
description: Required. If this is true, the Subject field
may be copied from a certificate request into the signed
certificate. Otherwise, the requested Subject will be discarded.
type: boolean
celExpression:
description: Optional. A CEL expression that may be used to
validate the resolved X.509 Subject and/or Subject Alternative
Name before a certificate is signed. To see the full allowed
syntax and some examples, see https://cloud.google.com/certificate-authority-service/docs/using-cel
properties:
description:
description: Optional. Description of the expression.
This is a longer text which describes the expression,
e.g. when hovered over it in a UI.
type: string
expression:
description: Textual representation of an expression in
Common Expression Language syntax.
type: string
location:
description: Optional. String indicating the location
of the expression for error reporting, e.g. a file name
and a position in the file.
type: string
title:
description: Optional. Title for the expression, i.e.
a short string describing its purpose. This can be used
e.g. in UIs which allow to enter the expression.
type: string
type: object
required:
- allowSubjectAltNamesPassthrough
- allowSubjectPassthrough
type: object
maximumLifetime:
description: Optional. The maximum lifetime allowed for issued
Certificates. Note that if the issuing CertificateAuthority
expires before a Certificate's requested maximum_lifetime, the
effective lifetime will be explicitly truncated to match it.
type: string
passthroughExtensions:
description: Optional. Describes the set of X.509 extensions that
may appear in a Certificate issued through this CaPool. If a
certificate request sets extensions that don't appear in the
passthrough_extensions, those extensions will be dropped. If
a certificate request uses a CertificateTemplate with predefined_values
that don't appear here, the certificate issuance request will
fail. If this is omitted, then this CaPool will not add restrictions
on a certificate's X.509 extensions. These constraints do not
apply to X.509 extensions set in this CaPool's baseline_values.
properties:
additionalExtensions:
description: Optional. A set of ObjectIds identifying custom
X.509 extensions. Will be combined with known_extensions
to determine the full set of X.509 extensions.
items:
properties:
objectIdPath:
description: Required. The parts of an OID path. The
most significant parts of the path come first.
items:
format: int64
type: integer
type: array
required:
- objectIdPath
type: object
type: array
knownExtensions:
description: Optional. A set of named X.509 extensions. Will
be combined with additional_extensions to determine the
full set of X.509 extensions.
items:
type: string
type: array
type: object
type: object
location:
description: Immutable. The location for the resource
type: string
projectRef:
description: Immutable. The Project that this resource belongs to.
oneOf:
- not:
required:
- external
required:
- name
- not:
anyOf:
- required:
- name
- required:
- namespace
required:
- external
properties:
external:
description: |-
The project for the resource
Allowed value: The Google Cloud resource name of a `Project` resource (format: `projects/{{name}}`).
type: string
name:
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
type: string
namespace:
description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
type: string
type: object
publishingOptions:
description: Optional. The PublishingOptions to follow when issuing
Certificates from any CertificateAuthority in this CaPool.
properties:
publishCaCert:
description: Optional. When true, publishes each CertificateAuthority's
CA certificate and includes its URL in the "Authority Information
Access" X.509 extension in all issued Certificates. If this
is false, the CA certificate will not be published and the corresponding
X.509 extension will not be written in issued certificates.
type: boolean
publishCrl:
description: Optional. When true, publishes each CertificateAuthority's
CRL and includes its URL in the "CRL Distribution Points" X.509
extension in all issued Certificates. If this is false, CRLs
will not be published and the corresponding X.509 extension
will not be written in issued certificates. CRLs will expire
7 days from their creation. However, we will rebuild daily.
CRLs are also rebuilt shortly after a certificate is revoked.
type: boolean
type: object
resourceID:
description: Immutable. Optional. The name of the resource. Used for
creation and acquisition. When unset, the value of `metadata.name`
is used as the default.
type: string
tier:
description: 'Immutable. Required. Immutable. The Tier of this CaPool.
Possible values: TIER_UNSPECIFIED, ENTERPRISE, DEVOPS'
type: string
required:
- location
- projectRef
- tier
type: object
status:
properties:
conditions:
description: Conditions represent the latest available observation
of the resource's current state.
items:
properties:
lastTransitionTime:
description: Last time the condition transitioned from one status
to another.
type: string
message:
description: Human-readable message indicating details about
last transition.
type: string
reason:
description: Unique, one-word, CamelCase reason for the condition's
last transition.
type: string
status:
description: Status is the status of the condition. Can be True,
False, Unknown.
type: string
type:
description: Type is the type of the condition.
type: string
type: object
type: array
observedGeneration:
description: ObservedGeneration is the generation of the resource
that was most recently observed by the Config Connector controller.
If this is equal to metadata.generation, then that means that the
current reported status reflects the most recent desired state of
the resource.
type: integer
type: object
required:
- spec
type: object
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []