Update kube-ovn to 1.7.1

This commit is contained in:
Florian Ruynat 2021-07-15 10:59:38 +02:00 committed by Kubernetes Prow Robot
parent b0fcc1ad1d
commit d5cbb19b39
3 changed files with 108 additions and 12 deletions

View file

@ -141,7 +141,7 @@ Note: Upstart/SysV init based OS types are not supported.
- [canal](https://github.com/projectcalico/canal) (given calico/flannel versions) - [canal](https://github.com/projectcalico/canal) (given calico/flannel versions)
- [cilium](https://github.com/cilium/cilium) v1.8.9 - [cilium](https://github.com/cilium/cilium) v1.8.9
- [flanneld](https://github.com/coreos/flannel) v0.13.0 - [flanneld](https://github.com/coreos/flannel) v0.13.0
- [kube-ovn](https://github.com/alauda/kube-ovn) v1.7.0 - [kube-ovn](https://github.com/alauda/kube-ovn) v1.7.1
- [kube-router](https://github.com/cloudnativelabs/kube-router) v1.2.2 - [kube-router](https://github.com/cloudnativelabs/kube-router) v1.2.2
- [multus](https://github.com/intel/multus-cni) v3.7.0 - [multus](https://github.com/intel/multus-cni) v3.7.0
- [ovn4nfv](https://github.com/opnfv/ovn4nfv-k8s-plugin) v1.1.0 - [ovn4nfv](https://github.com/opnfv/ovn4nfv-k8s-plugin) v1.1.0

View file

@ -243,24 +243,34 @@ spec:
spec: spec:
type: object type: object
properties: properties:
id:
type: integer
minimum: 0
maximum: 4095
provider:
type: string
vlanId: vlanId:
type: integer type: integer
description: Deprecated in favor of id
providerInterfaceName: providerInterfaceName:
type: string type: string
logicalInterfaceName: description: Deprecated in favor of provider
type: string required:
subnet: - provider
status:
type: object
properties:
subnets:
type: array
items:
type: string type: string
additionalPrinterColumns: additionalPrinterColumns:
- name: VlanID - name: ID
type: string type: string
jsonPath: .spec.vlanId jsonPath: .spec.id
- name: ProviderInterfaceName - name: Provider
type: string type: string
jsonPath: .spec.providerInterfaceName jsonPath: .spec.provider
- name: Subnet
type: string
jsonPath: .spec.subnet
scope: Cluster scope: Cluster
names: names:
plural: vlans plural: vlans
@ -271,6 +281,83 @@ spec:
--- ---
apiVersion: apiextensions.k8s.io/v1 apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata:
name: provider-networks.kubeovn.io
spec:
group: kubeovn.io
versions:
- name: v1
served: true
storage: true
schema:
openAPIV3Schema:
type: object
properties:
spec:
type: object
properties:
defaultInterface:
type: string
customInterfaces:
type: array
items:
type: object
properties:
interface:
type: string
nodes:
type: array
items:
type: string
excludeNodes:
type: array
items:
type: string
required:
- defaultInterface
status:
type: object
properties:
readyNodes:
type: array
items:
type: string
vlans:
type: array
items:
type: string
conditions:
type: array
items:
type: object
properties:
node:
type: string
type:
type: string
status:
type: string
reason:
type: string
message:
type: string
lastUpdateTime:
type: string
lastTransitionTime:
type: string
additionalPrinterColumns:
- name: DefaultInterface
type: string
jsonPath: .spec.defaultInterface
scope: Cluster
names:
plural: provider-networks
singular: provider-network
kind: ProviderNetwork
listKind: ProviderNetworkList
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata: metadata:
name: vpcs.kubeovn.io name: vpcs.kubeovn.io
spec: spec:

View file

@ -33,6 +33,8 @@ kind: ConfigMap
metadata: metadata:
name: ovn-config name: ovn-config
namespace: kube-system namespace: kube-system
data:
defaultNetworkType: geneve
--- ---
apiVersion: v1 apiVersion: v1
kind: ServiceAccount kind: ServiceAccount
@ -65,6 +67,8 @@ rules:
- vpc-nat-gateways - vpc-nat-gateways
- ips - ips
- vlans - vlans
- provider-networks
- provider-networks/status
- networks - networks
verbs: verbs:
- "*" - "*"
@ -381,6 +385,8 @@ spec:
- mountPath: /sys - mountPath: /sys
name: host-sys name: host-sys
readOnly: true readOnly: true
- mountPath: /etc/cni/net.d
name: cni-conf
- mountPath: /etc/openvswitch - mountPath: /etc/openvswitch
name: host-config-openvswitch name: host-config-openvswitch
- mountPath: /etc/ovn - mountPath: /etc/ovn
@ -431,6 +437,9 @@ spec:
- name: host-sys - name: host-sys
hostPath: hostPath:
path: /sys path: /sys
- name: cni-conf
hostPath:
path: /etc/cni/net.d
- name: host-config-openvswitch - name: host-config-openvswitch
hostPath: hostPath:
path: /etc/origin/openvswitch path: /etc/origin/openvswitch