You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
2.0 KiB

  1. ---
  2. apiVersion: apiextensions.k8s.io/v1
  3. kind: CustomResourceDefinition
  4. metadata:
  5. name: network-attachment-definitions.k8s.cni.cncf.io
  6. spec:
  7. group: k8s.cni.cncf.io
  8. scope: Namespaced
  9. names:
  10. plural: network-attachment-definitions
  11. singular: network-attachment-definition
  12. kind: NetworkAttachmentDefinition
  13. shortNames:
  14. - net-attach-def
  15. versions:
  16. - name: v1
  17. served: true
  18. storage: true
  19. schema:
  20. openAPIV3Schema:
  21. description: 'NetworkAttachmentDefinition is a CRD schema specified by the Network Plumbing
  22. Working Group to express the intent for attaching pods to one or more logical or physical
  23. networks. More information available at: https://github.com/k8snetworkplumbingwg/multi-net-spec'
  24. type: object
  25. properties:
  26. apiVersion:
  27. description: 'APIVersion defines the versioned schema of this represen
  28. tation of an object. Servers should convert recognized schemas to the
  29. latest internal value, and may reject unrecognized values. More info:
  30. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
  31. type: string
  32. kind:
  33. description: 'Kind is a string value representing the REST resource this
  34. object represents. Servers may infer this from the endpoint the client
  35. submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
  36. type: string
  37. metadata:
  38. type: object
  39. spec:
  40. description: 'NetworkAttachmentDefinition spec defines the desired state of a network attachment'
  41. type: object
  42. properties:
  43. config:
  44. description: 'NetworkAttachmentDefinition config is a JSON-formatted CNI configuration'
  45. type: string