
This change doesn't affect the execution of the code, but rather focuses on fixing various nits and improving readability. Change-Id: I4153a17787ca45dcd6d8eb6da894c0b651066411
117 lines
4.5 KiB
YAML
117 lines
4.5 KiB
YAML
|
|
---
|
|
apiVersion: apiextensions.k8s.io/v1beta1
|
|
kind: CustomResourceDefinition
|
|
metadata:
|
|
annotations:
|
|
controller-gen.kubebuilder.io/version: v0.2.5
|
|
creationTimestamp: null
|
|
name: sipclusters.airship.airshipit.org
|
|
spec:
|
|
group: airship.airshipit.org
|
|
names:
|
|
kind: SIPCluster
|
|
listKind: SIPClusterList
|
|
plural: sipclusters
|
|
singular: sipcluster
|
|
scope: Namespaced
|
|
validation:
|
|
openAPIV3Schema:
|
|
description: SIPCluster is the Schema for the sipclusters 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: SIPClusterSpec defines the desired state of a SIPCluster
|
|
properties:
|
|
cluster-name:
|
|
description: ClusterName is the name of the cluster to associate machines
|
|
with
|
|
type: string
|
|
infra:
|
|
additionalProperties:
|
|
properties:
|
|
image:
|
|
type: string
|
|
nodeInterfaceId:
|
|
type: string
|
|
nodePorts:
|
|
items:
|
|
type: integer
|
|
type: array
|
|
nodelabels:
|
|
additionalProperties:
|
|
type: string
|
|
type: object
|
|
optional:
|
|
properties:
|
|
clusterIP:
|
|
type: string
|
|
sshkey:
|
|
type: string
|
|
type: object
|
|
type: object
|
|
description: List of Infrastructure Services
|
|
type: object
|
|
nodes:
|
|
additionalProperties:
|
|
description: 'NodeSet are the the list of Nodes objects workers, or
|
|
master that definee eexpectations for the Tenant Clusters Includes
|
|
artifacts to associate with each defined namespace Such as : - Roles
|
|
for the Nodes - Flavor for theh Nodes image - Scheduling expectations
|
|
- Scale of the group of Nodes'
|
|
properties:
|
|
count:
|
|
description: Count defines the scale expectations for the Nodes
|
|
properties:
|
|
active:
|
|
description: 'INSERT ADDITIONAL STATUS FIELD - define observed
|
|
state of cluster Important: Run "make" to regenerate code
|
|
after modifying this file'
|
|
type: integer
|
|
standby:
|
|
type: integer
|
|
type: object
|
|
spreadTopology:
|
|
description: PlaceHolder until we define the real expected Implementation
|
|
Scheduling define constraints the allows the SIP Scheduler to
|
|
identify the required BMH's to allow CAPI to build a cluster
|
|
type: string
|
|
vm-flavor:
|
|
description: VMFlavor is essentially a Flavor label identifying
|
|
the type of Node that meets the construction reqirements
|
|
type: string
|
|
type: object
|
|
description: Nodes are the list of Nodes objects workers, or master
|
|
that definee eexpectations of the Tenant cluster VMRole is either
|
|
Control or Workers VMRole VMRoles `json:"vm-role,omitempty"`
|
|
type: object
|
|
required:
|
|
- infra
|
|
type: object
|
|
status:
|
|
description: SIPClusterStatus defines the observed state of SIPCluster
|
|
type: object
|
|
type: object
|
|
version: v1
|
|
versions:
|
|
- name: v1
|
|
served: true
|
|
storage: true
|
|
status:
|
|
acceptedNames:
|
|
kind: ""
|
|
plural: ""
|
|
conditions: []
|
|
storedVersions: []
|