Skip to content

Commit

Permalink
refactor(crd): add federated ros 2 workload crd
Browse files Browse the repository at this point in the history
  • Loading branch information
tunahanertekin committed Mar 4, 2024
1 parent 90132ce commit d585e0b
Showing 1 changed file with 134 additions and 0 deletions.
134 changes: 134 additions & 0 deletions crds/federated/ros2workload.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: federatedros2workloads.types.kubefed.io
spec:
conversion:
strategy: None
group: types.kubefed.io
names:
kind: FederatedROS2Workload
listKind: FederatedROS2WorkloadList
plural: federatedros2workloads
singular: federatedros2workload
scope: Namespaced
versions:
- name: v1beta1
schema:
openAPIV3Schema:
properties:
apiVersion:
type: string
kind:
type: string
metadata:
type: object
spec:
properties:
overrides:
items:
properties:
clusterName:
type: string
clusterOverrides:
items:
properties:
op:
pattern: ^(add|remove|replace)?$
type: string
path:
type: string
value:
x-kubernetes-preserve-unknown-fields: true
required:
- path
type: object
type: array
type: object
type: array
placement:
properties:
clusterSelector:
properties:
matchExpressions:
items:
properties:
key:
type: string
operator:
type: string
values:
items:
type: string
type: array
required:
- key
- operator
type: object
type: array
matchLabels:
additionalProperties:
type: string
type: object
type: object
clusters:
items:
properties:
name:
type: string
required:
- name
type: object
type: array
type: object
template:
type: object
x-kubernetes-preserve-unknown-fields: true
type: object
status:
properties:
clusters:
items:
properties:
name:
type: string
remoteStatus:
type: object
x-kubernetes-preserve-unknown-fields: true
status:
type: string
required:
- name
type: object
type: array
conditions:
items:
properties:
lastTransitionTime:
format: date-time
type: string
lastUpdateTime:
format: date-time
type: string
reason:
type: string
status:
type: string
type:
type: string
required:
- type
- status
type: object
type: array
observedGeneration:
format: int64
type: integer
type: object
required:
- spec
type: object
served: true
storage: true
subresources:
status: {}

0 comments on commit d585e0b

Please sign in to comment.