aboutsummaryrefslogtreecommitdiffstats
path: root/kud
diff options
context:
space:
mode:
authorRitu Sood <Ritu.Sood@intel.com>2020-05-21 04:29:53 +0000
committerGerrit Code Review <gerrit@onap.org>2020-05-21 04:29:53 +0000
commit2b63abfd3033208fbed6f9e99c212647470d47eb (patch)
tree70cb6e8fb1d2a62f7b4d39f5e570c9c3de7bd260 /kud
parentc2813e2ae161ecd416f0e7955a2b70e04fbe7b2c (diff)
parent224a54de4f79235880b99701008120322a70d9dc (diff)
Merge "Update scripts for ovn4nfv in multicloud-k8s"
Diffstat (limited to 'kud')
-rw-r--r--kud/deployment_infra/images/nfn.yml38
1 files changed, 26 insertions, 12 deletions
diff --git a/kud/deployment_infra/images/nfn.yml b/kud/deployment_infra/images/nfn.yml
index 23d8773a..2e033e04 100644
--- a/kud/deployment_infra/images/nfn.yml
+++ b/kud/deployment_infra/images/nfn.yml
@@ -138,20 +138,22 @@ spec:
status: {}
validation:
openAPIV3Schema:
+ description: ProviderNetwork is the Schema for the providernetworks API
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
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/api-conventions.md#resources'
+ 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/api-conventions.md#types-kinds'
+ 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: ProviderNetworkSpec defines the desired state of ProviderNetwork
properties:
cniType:
description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
@@ -159,6 +161,20 @@ spec:
modifying this file Add custom validation using kubebuilder tags:
https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html'
type: string
+ direct:
+ properties:
+ directNodeSelector:
+ type: string
+ nodeLabelList:
+ items:
+ type: string
+ type: array
+ providerInterfaceName:
+ type: string
+ required:
+ - directNodeSelector
+ - providerInterfaceName
+ type: object
dns:
properties:
domain:
@@ -226,31 +242,27 @@ spec:
logicalInterfaceName:
type: string
nodeLabelList:
- description: '"all"/"any"(in which case a node will be randomly
- selected)/"specific"(see below)'
items:
type: string
type: array
providerInterfaceName:
- description: if VlanNodeSelector is value "specific" then this array
- provides a list of nodes labels
type: string
vlanId:
type: string
vlanNodeSelector:
type: string
required:
+ - providerInterfaceName
- vlanId
- vlanNodeSelector
- - providerInterfaceName
type: object
required:
- cniType
- ipv4Subnets
- providerNetType
- - vlan
type: object
status:
+ description: ProviderNetworkStatus defines the observed state of ProviderNetwork
properties:
state:
description: 'INSERT ADDITIONAL STATUS FIELD - define observed state
@@ -261,6 +273,7 @@ spec:
required:
- state
type: object
+ type: object
version: v1alpha1
versions:
- name: v1alpha1
@@ -268,7 +281,6 @@ spec:
storage: true
-
---
apiVersion: v1
@@ -396,7 +408,7 @@ spec:
serviceAccountName: k8s-nfn-sa
containers:
- name: nfn-operator
- image: rtsood/nfn-operator:0.4
+ image: integratedcloudnative/ovn4nfv-k8s-plugin:0.9.0
command: ["/usr/local/bin/entrypoint", "operator"]
imagePullPolicy: IfNotPresent
ports:
@@ -459,7 +471,8 @@ spec:
effect: NoSchedule
containers:
- name: ovn4nfv
- image: rtsood/nfn-operator:0.4
+ image: integratedcloudnative/ovn4nfv-k8s-plugin:0.9.0
+ imagePullPolicy: IfNotPresent
command: ["/usr/local/bin/entrypoint", "cni"]
resources:
requests:
@@ -515,7 +528,8 @@ spec:
effect: NoSchedule
containers:
- name: nfn-agent
- image: rtsood/nfn-operator:0.4
+ image: integratedcloudnative/ovn4nfv-k8s-plugin:0.9.0
+ imagePullPolicy: IfNotPresent
command: ["/usr/local/bin/entrypoint", "agent"]
resources:
requests: