106 lines
3.6 KiB
YAML
106 lines
3.6 KiB
YAML
---
|
|
apiVersion: apiextensions.k8s.io/v1
|
|
kind: CustomResourceDefinition
|
|
metadata:
|
|
annotations:
|
|
controller-gen.kubebuilder.io/version: v0.14.0
|
|
name: domains.ingress.k8s.ngrok.com
|
|
spec:
|
|
group: ingress.k8s.ngrok.com
|
|
names:
|
|
kind: Domain
|
|
listKind: DomainList
|
|
plural: domains
|
|
singular: domain
|
|
scope: Namespaced
|
|
versions:
|
|
- additionalPrinterColumns:
|
|
- description: Domain ID
|
|
jsonPath: .status.id
|
|
name: ID
|
|
type: string
|
|
- description: Region
|
|
jsonPath: .status.region
|
|
name: Region
|
|
type: string
|
|
- description: Domain
|
|
jsonPath: .status.domain
|
|
name: Domain
|
|
type: string
|
|
- description: CNAME Target
|
|
jsonPath: .status.cnameTarget
|
|
name: CNAME Target
|
|
type: string
|
|
- description: Age
|
|
jsonPath: .metadata.creationTimestamp
|
|
name: Age
|
|
type: date
|
|
name: v1alpha1
|
|
schema:
|
|
openAPIV3Schema:
|
|
description: Domain is the Schema for the domains 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: DomainSpec defines the desired state of Domain
|
|
properties:
|
|
description:
|
|
default: Created by kubernetes-ingress-controller
|
|
description: Description is a human-readable description of the object
|
|
in the ngrok API/Dashboard
|
|
type: string
|
|
domain:
|
|
description: Domain is the domain name to reserve
|
|
type: string
|
|
metadata:
|
|
default: '{"owned-by":"kubernetes-ingress-controller"}'
|
|
description: Metadata is a string of arbitrary data associated with
|
|
the object in the ngrok API/Dashboard
|
|
type: string
|
|
region:
|
|
description: Region is the region in which to reserve the domain
|
|
type: string
|
|
required:
|
|
- domain
|
|
type: object
|
|
status:
|
|
description: DomainStatus defines the observed state of Domain
|
|
properties:
|
|
cnameTarget:
|
|
description: CNAMETarget is the CNAME target for the domain
|
|
type: string
|
|
domain:
|
|
description: Domain is the domain that was reserved
|
|
type: string
|
|
id:
|
|
description: ID is the unique identifier of the domain
|
|
type: string
|
|
region:
|
|
description: Region is the region in which the domain was created
|
|
type: string
|
|
uri:
|
|
description: URI of the reserved domain API resource
|
|
type: string
|
|
type: object
|
|
type: object
|
|
served: true
|
|
storage: true
|
|
subresources:
|
|
status: {}
|