Aether-1315 - Loose the rp_filter for sr-iov interface
Change-Id: I98b084f844c0634ad76f9da6b3015cebc84f8c64
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