Files
operator/k8s/crds/zoonetwork-crd.yaml

52 lines
1.4 KiB
YAML

apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: zoonetworks.zoo.network
spec:
group: zoo.network
scope: Namespaced
names:
plural: zoonetworks
singular: zoonetwork
kind: ZooNetwork
shortNames:
- zoonet
versions:
- name: v1alpha1
served: true
storage: true
subresources:
status: {}
additionalPrinterColumns:
- name: Phase
type: string
jsonPath: .status.phase
- name: Ready
type: string
jsonPath: .status.readyValidators
- name: Total
type: string
jsonPath: .status.totalValidators
- name: Age
type: date
jsonPath: .metadata.creationTimestamp
schema:
openAPIV3Schema:
type: object
description: ZooNetwork deploys and manages a Zoo validator node cluster.
properties:
apiVersion:
type: string
kind:
type: string
metadata:
type: object
spec:
type: object
x-kubernetes-preserve-unknown-fields: true
description: Spec is intentionally schema-light for v1alpha1.
status:
type: object
x-kubernetes-preserve-unknown-fields: true
description: Status is intentionally schema-light for v1alpha1.