From d7e8fc30ca73e9ce3890df9de5c53b0523d4a101 Mon Sep 17 00:00:00 2001 From: linxin Date: Fri, 1 Dec 2023 14:42:30 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=88=20style:=20remove=20testing=20moun?= =?UTF-8?q?t=20file=20and=20name?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../files/helm/templates/deployment-mrzcpd.yaml | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/ansible/roles/mrzcpd/files/helm/templates/deployment-mrzcpd.yaml b/ansible/roles/mrzcpd/files/helm/templates/deployment-mrzcpd.yaml index 98bbe0ea..ce7f4942 100644 --- a/ansible/roles/mrzcpd/files/helm/templates/deployment-mrzcpd.yaml +++ b/ansible/roles/mrzcpd/files/helm/templates/deployment-mrzcpd.yaml @@ -61,7 +61,7 @@ spec: mountPropagation: Bidirectional - name: ldconfig-mrzcpd mountPath: /mnt/packet-io-engine/ld.so.conf.d - - name: env-sh + - name: etc-profile mountPath: /mnt/packet-io-engine/profile.d - name: mrzcpd-conf mountPath: "/opt/tsg/config/mrzcpd.conf" @@ -76,8 +76,6 @@ spec: mountPath: /var/run/share/container_mrzcpd.conf - name: dev-vfio mountPath: /dev/vfio - - name: root-sys - mountPath: /root/sys - name: host-root mountPath: /host mountPropagation: HostToContainer @@ -124,7 +122,7 @@ spec: exec: command: - "bash" - - "ec" + - "-ec" - | rm -f /run/mrzcpd/huge_pages/rtemap_* rm -f /run/.rte_config @@ -146,9 +144,6 @@ spec: - mountPath: /var/run/dpdk name: dpdk readOnly: true - - mountPath: /root/sys - name: root-sys - readOnly: true - mountPath: /etc/localtime name: localtime-node readOnly: true @@ -165,9 +160,6 @@ spec: - mountPath: /var/run/dpdk name: dpdk readOnly: true - - mountPath: /root/sys - name: root-sys - readOnly: true - mountPath: /etc/localtime name: localtime-node readOnly: true @@ -203,7 +195,7 @@ spec: hostPath: path: /var/run/mrzcpd/hugepages type: DirectoryOrCreate - - name: env-sh + - name: etc-profile hostPath: path: /etc/profile.d type: Directory @@ -219,9 +211,6 @@ spec: hostPath: path: /var/run/share/container_mrzcpd.conf type: File - - name: root-sys - hostPath: - path: /root/sys - name: dev-vfio hostPath: path: /dev/vfio