Skip to content

Commit 7e62d93

Browse files
committed
make symlink if path /dev/fd doesn't exist
1 parent 50ae095 commit 7e62d93

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

simplyblock_core/env_var

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
SIMPLY_BLOCK_COMMAND_NAME=sbcli-dev
2-
SIMPLY_BLOCK_VERSION=14.0.3
2+
SIMPLY_BLOCK_VERSION=14.0.4
33

44
SIMPLY_BLOCK_DOCKER_IMAGE=public.ecr.aws/simply-block/simplyblock:main
55
DOCKER_USER=hamdysimplyblock

simplyblock_web/templates/storage_deploy_spdk.yaml.j2

+8-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,14 @@ spec:
6262
initContainers:
6363
- name: copy-script
6464
image: public.ecr.aws/simply-block/busybox
65-
command: ["sh", "-c", "echo \"{{ FDB_CONNECTION }}\" > /etc/foundationdb/fdb.cluster"]
65+
command:
66+
- sh
67+
- -c
68+
- |
69+
if [ ! -e /dev/fd ]; then
70+
ln -s /proc/self/fd /dev/fd
71+
fi
72+
echo "{{ FDB_CONNECTION }}" > /etc/foundationdb/fdb.cluster
6673
volumeMounts:
6774
- name: foundationdb
6875
mountPath: /etc/foundationdb

0 commit comments

Comments
 (0)