Skip to content

Commit

Permalink
align with openyurt charts refs/heads/master from commit 3dd6c5cb94a4…
Browse files Browse the repository at this point in the history
…f7f01900b5db9a86fd45413c61d1
  • Loading branch information
openyurt-bot committed Jan 18, 2024
1 parent 46512c9 commit 796e5fd
Show file tree
Hide file tree
Showing 2 changed files with 89 additions and 0 deletions.
77 changes: 77 additions & 0 deletions charts/yurt-manager/crds/apps.openyurt.io_nodebuckets.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.7.0
creationTimestamp: null
name: nodebuckets.apps.openyurt.io
spec:
group: apps.openyurt.io
names:
categories:
- all
kind: NodeBucket
listKind: NodeBucketList
plural: nodebuckets
shortNames:
- nb
singular: nodebucket
scope: Cluster
versions:
- additionalPrinterColumns:
- description: NumNodes represents the number of nodes in the NodeBucket.
jsonPath: .numNodes
name: NUM-NODES
type: integer
- description: CreationTimestamp is a timestamp representing the server time when
this object was created. It is not guaranteed to be set in happens-before
order across separate operations. Clients may not set this value. It is represented
in RFC3339 form and is in UTC.
jsonPath: .metadata.creationTimestamp
name: AGE
type: date
name: v1alpha1
schema:
openAPIV3Schema:
description: NodeBucket is the Schema for the samples 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
nodes:
description: Nodes represents a subset nodes in the nodepool
items:
description: Node represents a specified node in the nodepool
properties:
name:
description: Name is the name of node
type: string
type: object
type: array
numNodes:
description: NumNodes represents the number of nodes in the nodebucket
format: int32
type: integer
required:
- nodes
- numNodes
type: object
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
12 changes: 12 additions & 0 deletions charts/yurt-manager/templates/yurt-manager-auto-generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,18 @@ rules:
- get
- patch
- update
- apiGroups:
- apps.openyurt.io
resources:
- nodebuckets
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- apps.openyurt.io
resources:
Expand Down

0 comments on commit 796e5fd

Please sign in to comment.