Wei-Yu Chen | 450a98a | 2019-01-15 16:56:30 -0800 | [diff] [blame] | 1 | --- |
| 2 | # Copyright 2017-present Open Networking Foundation |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | |
| 16 | --- |
| 17 | apiVersion: apiextensions.k8s.io/v1beta1 |
| 18 | kind: CustomResourceDefinition |
| 19 | metadata: |
| 20 | # name must match the spec fields below, and be in the form: <plural>.<group> |
| 21 | name: network-attachment-definitions.k8s.cni.cncf.io |
| 22 | spec: |
| 23 | # group name to use for REST API: /apis/<group>/<version> |
| 24 | group: k8s.cni.cncf.io |
| 25 | # version name to use for REST API: /apis/<group>/<version> |
| 26 | version: v1 |
| 27 | # either Namespaced or Cluster |
| 28 | scope: Namespaced |
| 29 | names: |
| 30 | # plural name to be used in the URL: /apis/<group>/<version>/<plural> |
| 31 | plural: network-attachment-definitions |
| 32 | # singular name to be used as an alias on the CLI and for display |
| 33 | singular: network-attachment-definition |
| 34 | # kind is normally the CamelCased singular type. Your resource manifests use this. |
| 35 | kind: NetworkAttachmentDefinition |
| 36 | # shortNames allow shorter string to match your resource on the CLI |
| 37 | shortNames: |
| 38 | - net-attach-def |