Skip to content

Commit

Permalink
Update CRD's version to v1
Browse files Browse the repository at this point in the history
  • Loading branch information
s1061123 authored and dougbtv committed Oct 10, 2019
1 parent 731eeb3 commit f4431cd
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 15 deletions.
3 changes: 2 additions & 1 deletion images/multus-daemonset-crio-pre1.16.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ spec:
- "--cni-bin-dir=/host/usr/libexec/cni"
- "--multus-conf-file=auto"
- "--override-network-name=true"
- "--rename-conf-file=true"
- "--restart-crio=true"
resources:
requests:
cpu: "100m"
Expand Down Expand Up @@ -212,6 +212,7 @@ spec:
- "--cni-bin-dir=/host/usr/libexec/cni"
- "--multus-conf-file=auto"
- "--override-network-name=true"
- "--restart-crio=true"
resources:
requests:
cpu: "100m"
Expand Down
19 changes: 12 additions & 7 deletions images/multus-daemonset-crio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,26 @@ metadata:
name: network-attachment-definitions.k8s.cni.cncf.io
spec:
group: k8s.cni.cncf.io
version: v1
scope: Namespaced
names:
plural: network-attachment-definitions
singular: network-attachment-definition
kind: NetworkAttachmentDefinition
shortNames:
- net-attach-def
validation:
openAPIV3Schema:
properties:
spec:
versions:
- name: v1
served: true
storage: true
schema:
openAPIV3Schema:
type: object
properties:
config:
type: string
spec:
type: object
properties:
config:
type: string
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
Expand Down
19 changes: 12 additions & 7 deletions images/multus-daemonset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,26 @@ metadata:
name: network-attachment-definitions.k8s.cni.cncf.io
spec:
group: k8s.cni.cncf.io
version: v1
scope: Namespaced
names:
plural: network-attachment-definitions
singular: network-attachment-definition
kind: NetworkAttachmentDefinition
shortNames:
- net-attach-def
validation:
openAPIV3Schema:
properties:
spec:
versions:
- name: v1
served: true
storage: true
schema:
openAPIV3Schema:
type: object
properties:
config:
type: string
spec:
type: object
properties:
config:
type: string
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
Expand Down

0 comments on commit f4431cd

Please sign in to comment.