From 2c0f3ce1d9c3639207cfc2584b2ef67ed982afc6 Mon Sep 17 00:00:00 2001 From: Adrien Date: Tue, 11 Aug 2020 02:13:46 +0200 Subject: [PATCH] fix bug --- bin/update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/update.sh b/bin/update.sh index c2342ac..0da369d 100755 --- a/bin/update.sh +++ b/bin/update.sh @@ -71,7 +71,7 @@ for i in nfs-provisioner-runner-ClusterRole.yaml run-nfs-provisioner-ClusterRole sed "s/namespace:.*/namespace: nfs-provisioner/g" -i files/nfs/$i done sed 's|\(.*-provisioner=\).*"|\1reslinger.net/nfs"|' -i files/nfs/nfs-provisioner-Deployment.yaml -sed 's/example-nfs-//' -i vars/nfs.yaml +sed 's/example-nfs-//' -i "${NFS_FILE}" mv files/nfs/example-nfs-StorageClass.yaml files/nfs/StorageClass.yaml sed 's|example-nfs|nfs|' -i files/nfs/StorageClass.yaml sed 's|example.com/nfs|reslinger.net/nfs|' -i files/nfs/StorageClass.yaml