From 3d3daa15d3a37f07c3b1810cc572a151b79ba82a Mon Sep 17 00:00:00 2001 From: Bin Liang Date: Fri, 15 Mar 2024 15:20:41 +0800 Subject: [PATCH] fix command not found in install.sh (#176) --- deploy/kubernetes_v1.22/kubernetes/install.sh | 2 +- deploy/kubernetes_v1.22/kubernetes/polaris-controller.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy/kubernetes_v1.22/kubernetes/install.sh b/deploy/kubernetes_v1.22/kubernetes/install.sh index 9e702157..79df04ba 100755 --- a/deploy/kubernetes_v1.22/kubernetes/install.sh +++ b/deploy/kubernetes_v1.22/kubernetes/install.sh @@ -24,7 +24,7 @@ fi export -f replaceVar -cat $varFile | awk -F ':' '{print "replaceVar", $1, $2 | "/bin/bash"}' +cat $varFile | awk -F ':' '{print "replaceVar", $1, $2}' | "/bin/bash" kubectl apply -f namespace.yaml kubectl create secret generic polaris-sidecar-injector -n polaris-system \ diff --git a/deploy/kubernetes_v1.22/kubernetes/polaris-controller.yaml b/deploy/kubernetes_v1.22/kubernetes/polaris-controller.yaml index 1ee2e2ca..c3361f9d 100644 --- a/deploy/kubernetes_v1.22/kubernetes/polaris-controller.yaml +++ b/deploy/kubernetes_v1.22/kubernetes/polaris-controller.yaml @@ -93,7 +93,7 @@ spec: imagePullPolicy: Always volumeMounts: - mountPath: /polaris-controller/log - name: log + name: logs - name: certs mountPath: /etc/polaris-inject/certs readOnly: true @@ -132,4 +132,4 @@ spec: - hostPath: path: /data/polaris-controller/log type: "DirectoryOrCreate" - name: logs \ No newline at end of file + name: logs