Add ovn4nfv addon helm chart
[multicloud/k8s.git] / kud / deployment_infra / helm / ovn4nfv / crds / networkchaining.yaml
1 apiVersion: apiextensions.k8s.io/v1beta1
2 kind: CustomResourceDefinition
3 metadata:
4   name: networkchainings.k8s.plugin.opnfv.org
5 spec:
6   group: k8s.plugin.opnfv.org
7   names:
8     kind: NetworkChaining
9     listKind: NetworkChainingList
10     plural: networkchainings
11     singular: networkchaining
12   scope: Namespaced
13   subresources:
14     status: {}
15   validation:
16     openAPIV3Schema:
17       description: NetworkChaining is the Schema for the networkchainings API
18       properties:
19         apiVersion:
20           description: 'APIVersion defines the versioned schema of this representation
21             of an object. Servers should convert recognized schemas to the latest
22             internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
23           type: string
24         kind:
25           description: 'Kind is a string value representing the REST resource this
26             object represents. Servers may infer this from the endpoint the client
27             submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
28           type: string
29         metadata:
30           type: object
31         spec:
32           description: NetworkChainingSpec defines the desired state of NetworkChaining
33           properties:
34             chainType:
35               type: string
36             routingSpec:
37               properties:
38                 leftNetwork:
39                   items:
40                     properties:
41                       gatewayIp:
42                         type: string
43                       networkName:
44                         type: string
45                     required:
46                     - gatewayIp
47                     - networkName
48                     type: object
49                   type: array
50                 namespace:
51                   type: string
52                 networkChain:
53                   type: string
54                 rightNetwork:
55                   items:
56                     properties:
57                       gatewayIp:
58                         type: string
59                       networkName:
60                         type: string
61                     required:
62                     - gatewayIp
63                     - networkName
64                     type: object
65                   type: array
66               required:
67               - leftNetwork
68               - namespace
69               - networkChain
70               - rightNetwork
71               type: object
72           required:
73           - chainType
74           - routingSpec
75           type: object
76         status:
77           description: NetworkChainingStatus defines the observed state of NetworkChaining
78           properties:
79             state:
80               type: string
81           required:
82           - state
83           type: object
84       type: object
85   version: v1alpha1
86   versions:
87   - name: v1alpha1
88     served: true
89     storage: true