From a1b5b36d252721753b9da930c241dd50cf83b986 Mon Sep 17 00:00:00 2001 From: Min RK Date: Mon, 6 May 2024 15:18:17 +0200 Subject: [PATCH] enable local iframes required for panel --- jupyterhub/gfts-hub/values.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/jupyterhub/gfts-hub/values.yaml b/jupyterhub/gfts-hub/values.yaml index d44f63f..e13ca68 100644 --- a/jupyterhub/gfts-hub/values.yaml +++ b/jupyterhub/gfts-hub/values.yaml @@ -45,6 +45,14 @@ jupyterhub: AWS_ENDPOINT_URL_S3: "https://s3.gra.perf.cloud.ovh.net" AWS_DEFAULT_REGION: gra # JUPYTER_FS_BUCKETS: destine-gfts-data-lake,gfts-reference-data,gfts-ifremer + extraFiles: + allow-iframe: + mountPath: /etc/jupyter/jupyter_server_config.json + data: + ServerApp: + tornado_settings: + headers: + Content-Security-Policy: frame-ancestors 'self' initContainers: # seems to be something in the volume mount resetting permissions # .ssh doesn't like to be public, so ensure it's private