Aether-1315 - Loose the rp_filter for sr-iov interface
Change-Id: I98b084f844c0634ad76f9da6b3015cebc84f8c64
diff --git a/apps/dbuf/Chart.yaml b/apps/dbuf/Chart.yaml
index 77eec5e..99683fd 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.4
+version: 0.1.5
# 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/deployment.yaml b/apps/dbuf/templates/deployment.yaml
index b820acb..53393f6 100644
--- a/apps/dbuf/templates/deployment.yaml
+++ b/apps/dbuf/templates/deployment.yaml
@@ -22,6 +22,12 @@
labels:
{{- include "dbuf.selectorLabels" . | nindent 8 }}
spec:
+ securityContext:
+ sysctls:
+ - name: ipv4.conf.all.rp_filter
+ value: "2"
+ - name: ipv4.conf.net0.rp_filter
+ value: "2"
{{- if .Values.image.credentials }}
imagePullSecrets:
- name: {{ .Release.Name }}.registry