seaweedfs-operator/config/crd/bases/seaweed.seaweedfs.com_seaweeds.yaml
2020-10-20 00:17:14 -07:00

83 lines
2.6 KiB
YAML

---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.3.0
creationTimestamp: null
name: seaweeds.seaweed.seaweedfs.com
spec:
group: seaweed.seaweedfs.com
names:
kind: Seaweed
listKind: SeaweedList
plural: seaweeds
singular: seaweed
scope: Namespaced
subresources:
status: {}
validation:
openAPIV3Schema:
description: Seaweed is the Schema for the seaweeds 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: SeaweedSpec defines the desired state of Seaweed
properties:
filerCount:
description: FilerCount is the number of filers, default to 1
format: int32
type: integer
hosts:
description: ingress
items:
type: string
type: array
image:
description: Image
type: string
metricsAddress:
description: MetricsAddress is Prometheus gateway address
type: string
volumeServerCount:
description: VolumeServerCount is the number of volume servers, default
to 1
format: int32
type: integer
volumeServerDiskCount:
format: int32
type: integer
volumeServerDiskSizeInGiB:
format: int32
type: integer
required:
- hosts
type: object
status:
description: SeaweedStatus defines the observed state of Seaweed
type: object
type: object
version: v1
versions:
- name: v1
served: true
storage: true
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []