zelda/backend/config/crd/bases/zelda.io_zregistries.yaml

58 lines
2.0 KiB
YAML
Raw Normal View History

2024-11-19 16:57:27 +08:00
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.13.0
name: zregistries.zelda.io
spec:
group: zelda.io
names:
kind: ZRegistry
listKind: ZRegistryList
plural: zregistries
singular: zregistry
scope: Namespaced
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
description: ZRegistry is the Schema for the zregistries 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: ZRegistrySpec defines the desired state of ZRegistry
properties:
namespace:
type: string
password:
type: string
portal:
type: string
server:
description: Foo is an example field of ZRegistry. Edit zregistry_types.go
to remove/update Foo string `json:"foo,omitempty"`
type: string
username:
type: string
type: object
status:
description: ZRegistryStatus defines the observed state of ZRegistry
type: object
type: object
served: true
storage: true
subresources:
status: {}