Skip to content
Snippets Groups Projects
Commit 9294c5ca authored by František Dvořák's avatar František Dvořák
Browse files

Do not unmount ownloud explicitly - fixes notebooks pods termination

parent 87852cf3
No related branches found
No related tags found
No related merge requests found
...@@ -246,7 +246,7 @@ hub: ...@@ -246,7 +246,7 @@ hub:
"args": ["bearer_token_command=cat " + token_path], "args": ["bearer_token_command=cat " + token_path],
"env": [ "env": [
{"name": "WEBDAV_URL", "value": "https://ocis.aaitest.owncloud.works/remote.php/webdav/"}, {"name": "WEBDAV_URL", "value": "https://ocis.aaitest.owncloud.works/remote.php/webdav/"},
{"name": "WEBDAV_VENDOR", "value": "other"}, {"name": "WEBDAV_VENDOR", "value": "owncloud"},
# XXX: strict permissions needed for .local/share/jupyter/runtime/jupyter_cookie_secret # XXX: strict permissions needed for .local/share/jupyter/runtime/jupyter_cookie_secret
# quicker directory cache and polling # quicker directory cache and polling
{"name": "MOUNT_OPTS", "value": "--file-perms=0600 --dir-perms=0770 --dir-cache-time=1m0s --poll-interval=0m20s"}, {"name": "MOUNT_OPTS", "value": "--file-perms=0600 --dir-perms=0770 --dir-cache-time=1m0s --poll-interval=0m20s"},
...@@ -263,11 +263,6 @@ hub: ...@@ -263,11 +263,6 @@ hub:
"capabilities": {"add": ["SYS_ADMIN"]}, "capabilities": {"add": ["SYS_ADMIN"]},
}, },
"volumeMounts": volume_mounts, "volumeMounts": volume_mounts,
"lifecycle": {
"preStop": {
"exec": {"command": ["fusermount", "-u", "-z", "/owncloud"]}
},
},
} }
) )
......
...@@ -270,7 +270,7 @@ hub: ...@@ -270,7 +270,7 @@ hub:
"args": ["bearer_token_command=cat " + token_path], "args": ["bearer_token_command=cat " + token_path],
"env": [ "env": [
{"name": "WEBDAV_URL", "value": "https://ocis.aaitest.owncloud.works/remote.php/webdav/"}, {"name": "WEBDAV_URL", "value": "https://ocis.aaitest.owncloud.works/remote.php/webdav/"},
{"name": "WEBDAV_VENDOR", "value": "other"}, {"name": "WEBDAV_VENDOR", "value": "owncloud"},
# XXX: strict permissions needed for .local/share/jupyter/runtime/jupyter_cookie_secret # XXX: strict permissions needed for .local/share/jupyter/runtime/jupyter_cookie_secret
# quicker directory cache and polling # quicker directory cache and polling
{"name": "MOUNT_OPTS", "value": "--file-perms=0600 --dir-perms=0770 --dir-cache-time=1m0s --poll-interval=0m20s"}, {"name": "MOUNT_OPTS", "value": "--file-perms=0600 --dir-perms=0770 --dir-cache-time=1m0s --poll-interval=0m20s"},
...@@ -287,11 +287,6 @@ hub: ...@@ -287,11 +287,6 @@ hub:
"capabilities": {"add": ["SYS_ADMIN"]}, "capabilities": {"add": ["SYS_ADMIN"]},
}, },
"volumeMounts": volume_mounts, "volumeMounts": volume_mounts,
"lifecycle": {
"preStop": {
"exec": {"command": ["fusermount", "-u", "-z", "/owncloud"]}
},
},
} }
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment