This message was deleted.
# kubernetes
a
This message was deleted.
m
There is a way to embed it into an iframe: here is a snippet of how we do this exact thing via helm-overrides for nginx-ingress, just replace <topleveldomain> with your embedding domain let me know if this works for you 🙂
Copy code
deploy-rancher-ui:
    enabled: true
    version: <version>
    rancher_ui_dns: "<dns>"
    letsEncrypt_admin_mail: "<email>"
    ingress:
      configurationSnippet: |
        more_clear_headers 'X-Frame-Options';
        more_set_headers "Content-Security-Policy: frame-ancestors *.<topleveldomain> 'self'";
s
@mysterious-lock-12214 thanks. Now, rancher dashboard is embed into HTML page but facing error with this line
Copy code
more_set_headers "Content-Security-Policy: frame-ancestors *.<topleveldomain> 'self'";
@mysterious-lock-12214 Can you please me