Update CRD's version to v1

This commit is contained in:
Tomofumi Hayashi 2019-09-20 14:46:11 +09:00 committed by Doug Smith
parent 731eeb3a78
commit f4431cd010
3 changed files with 26 additions and 15 deletions

View File

@ -141,7 +141,7 @@ spec:
- "--cni-bin-dir=/host/usr/libexec/cni" - "--cni-bin-dir=/host/usr/libexec/cni"
- "--multus-conf-file=auto" - "--multus-conf-file=auto"
- "--override-network-name=true" - "--override-network-name=true"
- "--rename-conf-file=true" - "--restart-crio=true"
resources: resources:
requests: requests:
cpu: "100m" cpu: "100m"
@ -212,6 +212,7 @@ spec:
- "--cni-bin-dir=/host/usr/libexec/cni" - "--cni-bin-dir=/host/usr/libexec/cni"
- "--multus-conf-file=auto" - "--multus-conf-file=auto"
- "--override-network-name=true" - "--override-network-name=true"
- "--restart-crio=true"
resources: resources:
requests: requests:
cpu: "100m" cpu: "100m"

View File

@ -5,7 +5,6 @@ metadata:
name: network-attachment-definitions.k8s.cni.cncf.io name: network-attachment-definitions.k8s.cni.cncf.io
spec: spec:
group: k8s.cni.cncf.io group: k8s.cni.cncf.io
version: v1
scope: Namespaced scope: Namespaced
names: names:
plural: network-attachment-definitions plural: network-attachment-definitions
@ -13,10 +12,16 @@ spec:
kind: NetworkAttachmentDefinition kind: NetworkAttachmentDefinition
shortNames: shortNames:
- net-attach-def - net-attach-def
validation: versions:
- name: v1
served: true
storage: true
schema:
openAPIV3Schema: openAPIV3Schema:
type: object
properties: properties:
spec: spec:
type: object
properties: properties:
config: config:
type: string type: string

View File

@ -5,7 +5,6 @@ metadata:
name: network-attachment-definitions.k8s.cni.cncf.io name: network-attachment-definitions.k8s.cni.cncf.io
spec: spec:
group: k8s.cni.cncf.io group: k8s.cni.cncf.io
version: v1
scope: Namespaced scope: Namespaced
names: names:
plural: network-attachment-definitions plural: network-attachment-definitions
@ -13,10 +12,16 @@ spec:
kind: NetworkAttachmentDefinition kind: NetworkAttachmentDefinition
shortNames: shortNames:
- net-attach-def - net-attach-def
validation: versions:
- name: v1
served: true
storage: true
schema:
openAPIV3Schema: openAPIV3Schema:
type: object
properties: properties:
spec: spec:
type: object
properties: properties:
config: config:
type: string type: string