Allow vlan tagging for Dbuf VF interface
Change-Id: I672981bf397936be0aa8cfb7cc52c902ae3cc1e8
diff --git a/apps/dbuf/Chart.yaml b/apps/dbuf/Chart.yaml
index e1fd576..e5fed16 100644
--- a/apps/dbuf/Chart.yaml
+++ b/apps/dbuf/Chart.yaml
@@ -18,7 +18,7 @@
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
-version: 0.1.9
+version: 0.1.10
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
diff --git a/apps/dbuf/templates/networks.yaml b/apps/dbuf/templates/networks.yaml
index 07eb55b..84e0cf5 100644
--- a/apps/dbuf/templates/networks.yaml
+++ b/apps/dbuf/templates/networks.yaml
@@ -14,6 +14,9 @@
config: '{
"type": "sriov",
"name": "sriov-network",
+{{- if hasKey .Values.network "vlan" }}
+ "vlan": {{ .Values.network.vlan }},
+{{- end }}
"ipam": {
{{- if eq .Values.network.ipam "host-local" }}
"type": "host-local",
@@ -27,4 +30,4 @@
{{- end }}
}
-}'
\ No newline at end of file
+}'
diff --git a/apps/dbuf/values.yaml b/apps/dbuf/values.yaml
index e0289e2..8025e05 100644
--- a/apps/dbuf/values.yaml
+++ b/apps/dbuf/values.yaml
@@ -64,3 +64,4 @@
# route the following subnets via sr-iov interface
# route: 10.56.215.0/24,10.56.214.0/24
route: ""
+ #vlan: