109 lines
4.4 KiB
YAML
109 lines
4.4 KiB
YAML
|
apiVersion: apiextensions.k8s.io/v1
|
||
|
kind: CustomResourceDefinition
|
||
|
metadata:
|
||
|
annotations:
|
||
|
controller-gen.kubebuilder.io/version: v0.10.0
|
||
|
creationTimestamp: null
|
||
|
name: tcsissuers.tcs.intel.com
|
||
|
spec:
|
||
|
group: tcs.intel.com
|
||
|
names:
|
||
|
kind: TCSIssuer
|
||
|
listKind: TCSIssuerList
|
||
|
plural: tcsissuers
|
||
|
singular: tcsissuer
|
||
|
scope: Namespaced
|
||
|
versions:
|
||
|
- additionalPrinterColumns:
|
||
|
- jsonPath: .metadata.creationTimestamp
|
||
|
name: Age
|
||
|
type: date
|
||
|
- jsonPath: .status.conditions[?(@.type=='Ready')].status
|
||
|
name: Ready
|
||
|
type: string
|
||
|
- jsonPath: .status.conditions[?(@.type=='Ready')].reason
|
||
|
name: Reason
|
||
|
type: string
|
||
|
- jsonPath: .status.conditions[?(@.type=='Ready')].message
|
||
|
name: Message
|
||
|
type: string
|
||
|
name: v1alpha1
|
||
|
schema:
|
||
|
openAPIV3Schema:
|
||
|
description: TCSIssuer is the Schema for the issuers API
|
||
|
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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds'
|
||
|
type: string
|
||
|
metadata:
|
||
|
type: object
|
||
|
spec:
|
||
|
description: TCSIssuerSpec defines the desired state of Issuer
|
||
|
properties:
|
||
|
labels:
|
||
|
additionalProperties:
|
||
|
type: string
|
||
|
description: Labels to set for the sub-objects (QuoteAttestation,
|
||
|
Secret etc.,) created for this issuer.
|
||
|
type: object
|
||
|
secretName:
|
||
|
description: SecretName is the name of the secret object to be created
|
||
|
by issuer controller to hold ca certificate
|
||
|
type: string
|
||
|
selfSign:
|
||
|
default: true
|
||
|
description: SelfSignCertificate defines weather to generate a self-signed
|
||
|
certificate for this CA issuer. When it set false, the CA is expected
|
||
|
to get provisioned by an external key server using QuoteAttestation
|
||
|
CRD. Default to True.
|
||
|
type: boolean
|
||
|
type: object
|
||
|
status:
|
||
|
description: TCSIssuerStatus defines the observed state of Issuer
|
||
|
properties:
|
||
|
conditions:
|
||
|
description: List of status conditions to indicate the status of a
|
||
|
CertificateRequest. Known condition types are `Ready`.
|
||
|
items:
|
||
|
description: IssuerCondition contains condition information for
|
||
|
an Issuer.
|
||
|
properties:
|
||
|
lastTransitionTime:
|
||
|
description: LastTransitionTime is the timestamp corresponding
|
||
|
to the last status change of this condition.
|
||
|
format: date-time
|
||
|
type: string
|
||
|
message:
|
||
|
description: Message is a human readable description of the
|
||
|
details of the last transition, complementing reason.
|
||
|
type: string
|
||
|
reason:
|
||
|
description: Reason is a brief machine readable explanation
|
||
|
for the condition's last transition.
|
||
|
type: string
|
||
|
status:
|
||
|
description: Status of the condition, one of ('True', 'False',
|
||
|
'Unknown').
|
||
|
type: string
|
||
|
type:
|
||
|
description: Type of the condition, known values are ('Ready').
|
||
|
type: string
|
||
|
required:
|
||
|
- status
|
||
|
- type
|
||
|
type: object
|
||
|
type: array
|
||
|
type: object
|
||
|
type: object
|
||
|
served: true
|
||
|
storage: true
|
||
|
subresources:
|
||
|
status: {}
|