aboutsummaryrefslogtreecommitdiffstats
path: root/kud/deployment_infra
diff options
context:
space:
mode:
authorTodd Malsbary <todd.malsbary@intel.com>2021-06-18 16:05:20 -0700
committerTodd Malsbary <todd.malsbary@intel.com>2021-06-24 16:38:40 -0700
commit709e0de616a7d23510f523680695b7046e1b8b09 (patch)
treeaf0c71b5500b9735890c6644b9ba96f59ddbfbb8 /kud/deployment_infra
parentffa56aaeb4f69490866d67f98209af01191257bd (diff)
Add ovn4nfv-network addon
This chart contains the ovn-networkobj NetworkAttachmentDefinition required by EMCO. Issue-ID: MULTICLOUD-1324 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: Iaf10bacaf7ff263b165ca18a427958f7e75c3628
Diffstat (limited to 'kud/deployment_infra')
-rw-r--r--kud/deployment_infra/emco/Makefile1
-rw-r--r--kud/deployment_infra/emco/examples/values.yaml.example1
-rw-r--r--kud/deployment_infra/helm/ovn4nfv-network/.helmignore23
-rw-r--r--kud/deployment_infra/helm/ovn4nfv-network/Chart.yaml24
-rw-r--r--kud/deployment_infra/helm/ovn4nfv-network/templates/ovnnetwork.yaml10
-rw-r--r--kud/deployment_infra/helm/ovn4nfv-network/values.yaml0
-rw-r--r--kud/deployment_infra/profiles/ovn4nfv-network/manifest.yaml4
-rw-r--r--kud/deployment_infra/profiles/ovn4nfv-network/override_values.yaml0
8 files changed, 63 insertions, 0 deletions
diff --git a/kud/deployment_infra/emco/Makefile b/kud/deployment_infra/emco/Makefile
index e06b5f6b..e6e05880 100644
--- a/kud/deployment_infra/emco/Makefile
+++ b/kud/deployment_infra/emco/Makefile
@@ -25,6 +25,7 @@ ADDONS := \
multus-cni \
node-feature-discovery \
ovn4nfv \
+ ovn4nfv-network \
sriov-network \
sriov-network-operator \
qat-device-plugin
diff --git a/kud/deployment_infra/emco/examples/values.yaml.example b/kud/deployment_infra/emco/examples/values.yaml.example
index 4f5e45ed..8c4b6c30 100644
--- a/kud/deployment_infra/emco/examples/values.yaml.example
+++ b/kud/deployment_infra/emco/examples/values.yaml.example
@@ -33,4 +33,5 @@ AddonResourcesDeploymentIntentGroup: addon-resources-deployment-intent-group
AddonResourcesDeploymentIntent: addon-resources-deployment-intent
AddonResourcesPlacementIntent: addon-resources-placement-intent
AddonResources:
+- ovn4nfv-network
- sriov-network
diff --git a/kud/deployment_infra/helm/ovn4nfv-network/.helmignore b/kud/deployment_infra/helm/ovn4nfv-network/.helmignore
new file mode 100644
index 00000000..0e8a0eb3
--- /dev/null
+++ b/kud/deployment_infra/helm/ovn4nfv-network/.helmignore
@@ -0,0 +1,23 @@
+# Patterns to ignore when building packages.
+# This supports shell glob matching, relative path matching, and
+# negation (prefixed with !). Only one pattern per line.
+.DS_Store
+# Common VCS dirs
+.git/
+.gitignore
+.bzr/
+.bzrignore
+.hg/
+.hgignore
+.svn/
+# Common backup files
+*.swp
+*.bak
+*.tmp
+*.orig
+*~
+# Various IDEs
+.project
+.idea/
+*.tmproj
+.vscode/
diff --git a/kud/deployment_infra/helm/ovn4nfv-network/Chart.yaml b/kud/deployment_infra/helm/ovn4nfv-network/Chart.yaml
new file mode 100644
index 00000000..1b57a746
--- /dev/null
+++ b/kud/deployment_infra/helm/ovn4nfv-network/Chart.yaml
@@ -0,0 +1,24 @@
+# Copyright 2021 Intel Corporation, Inc
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+apiVersion: v2
+appVersion: v2.2.0
+description: |
+ OVN4NFV K8s Plugin - Network definitions
+home: https://github.com/opnfv/ovn4nfv-k8s-plugin
+name: ovn4nfv-network
+sources:
+ - https://github.com/opnfv/ovn4nfv-k8s-plugin
+type: application
+version: 0.1.0
diff --git a/kud/deployment_infra/helm/ovn4nfv-network/templates/ovnnetwork.yaml b/kud/deployment_infra/helm/ovn4nfv-network/templates/ovnnetwork.yaml
new file mode 100644
index 00000000..cdb44f4a
--- /dev/null
+++ b/kud/deployment_infra/helm/ovn4nfv-network/templates/ovnnetwork.yaml
@@ -0,0 +1,10 @@
+apiVersion: k8s.cni.cncf.io/v1
+kind: NetworkAttachmentDefinition
+metadata:
+ name: ovn-networkobj
+spec:
+ config: '{
+ "cniVersion": "0.3.1",
+ "name": "ovn4nfv-k8s-plugin",
+ "type": "ovn4nfvk8s-cni"
+ }'
diff --git a/kud/deployment_infra/helm/ovn4nfv-network/values.yaml b/kud/deployment_infra/helm/ovn4nfv-network/values.yaml
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/kud/deployment_infra/helm/ovn4nfv-network/values.yaml
diff --git a/kud/deployment_infra/profiles/ovn4nfv-network/manifest.yaml b/kud/deployment_infra/profiles/ovn4nfv-network/manifest.yaml
new file mode 100644
index 00000000..4d381d02
--- /dev/null
+++ b/kud/deployment_infra/profiles/ovn4nfv-network/manifest.yaml
@@ -0,0 +1,4 @@
+---
+version: v1
+type:
+ values: "override_values.yaml"
diff --git a/kud/deployment_infra/profiles/ovn4nfv-network/override_values.yaml b/kud/deployment_infra/profiles/ovn4nfv-network/override_values.yaml
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/kud/deployment_infra/profiles/ovn4nfv-network/override_values.yaml