From 78669323d2e79279a19daa83aea99e0591dcea71 Mon Sep 17 00:00:00 2001 From: Tomofumi Hayashi Date: Tue, 28 Jul 2020 11:50:13 +0900 Subject: [PATCH] Fix CRD yaml file for right explan information --- images/multus-daemonset-crio.yml | 13 +++++++++++++ images/multus-daemonset.yml | 13 +++++++++++++ 2 files changed, 26 insertions(+) diff --git a/images/multus-daemonset-crio.yml b/images/multus-daemonset-crio.yml index 5009a5652..875268589 100644 --- a/images/multus-daemonset-crio.yml +++ b/images/multus-daemonset-crio.yml @@ -23,6 +23,19 @@ spec: networks. More information available at: https://github.com/k8snetworkplumbingwg/multi-net-spec' type: object properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this represen + tation 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 spec: description: 'NetworkAttachmentDefinition spec defines the desired state of a network attachment' type: object diff --git a/images/multus-daemonset.yml b/images/multus-daemonset.yml index d5cf4d19d..62a2abdb0 100644 --- a/images/multus-daemonset.yml +++ b/images/multus-daemonset.yml @@ -23,6 +23,19 @@ spec: networks. More information available at: https://github.com/k8snetworkplumbingwg/multi-net-spec' type: object properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this represen + tation 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 spec: description: 'NetworkAttachmentDefinition spec defines the desired state of a network attachment' type: object