GithubHelp home page GithubHelp logo

cryptpad / helm Goto Github PK

View Code? Open in Web Editor NEW
2.0 8.0 6.0 182 KB

The Helm Charts for CryptPad

Home Page: https://cryptpad.org

License: GNU Affero General Public License v3.0

Smarty 100.00%
cryptpad helm-charts kubernetes

helm's Issues

"Failed to fetch a worker script" when working with Ingress and let's encrypt

Just in case someone is running into that issue, too:

If you are testing the helm chart with an Ingress AND e.g. let's encrypt staging certificates, be aware that the Chrome browser won't let you load scripts from insecure sites and thus give you a console error of "Failed to fetch a worker script".

The problem is present in Firefox. And it is not present in Chrome, if you are using production grade certificates from let's encrypt.

Hen-and-egg problem with adminKeys?

adminKeys: []

https://docs.cryptpad.org/en/admin_guide/installation.html#configure-cryptpad

Once CryptPad is installed, create an account via the Register button on the home page. To make this account an instance administrator:

    Copy their public key found in User Menu (avatar at the top right) > Settings > Account > Public Signing Key

Do I understand this correctly, that I would first install this chart without the adminKeys populated? And then upgrade the chart after I modified the chart's values.yaml to include the adminKeys?

Unauthenticated users can access Cryptpad instance

Test with the OpenDesk project deployment, on Kubernetes cluster with NextCloud sync, and OpenID authentication.

Step to reproduce:

  • Log to the platform, access a diagram file on NextCloud
  • copy the URL of the diagram and open it in a private window
  • Expected result: unregistered user will have credentials required
  • Current result: unregistered user can access and download the diagram:

image

Enable remote embedding

The "Enable remote embedding" admin setting needs to be enabled for the Nextcloud integration to work. This can be done manually in the web interface or automatically during the deployment.

This line ["ENABLE_EMBEDDING", true, '', 0] needs to be added to ./data/decrees/decree.ndjson.

@wginolas can help with more info and details.

Remove variables used on image with nginx

Remove all values used to fill variables for docker image with nginx:

# CryptPad API subdomain FQDN
apiDomain: ""
# CryptPad files subdomain FQDN
filesDomain: ""
# Trusted proxy address or CIDR
trustedProxy: ""
# Header to get client IP from (`X-Real-IP` or `X-Forwarded-For`)
realIpHeader: ""
# Instruct Nginx to perform a recursive search to find client's real IP (`on`/`off`) (see [ngx_http_realip_module](https://nginx.org/en/docs/http/ngx_http_realip_module.html))
realIpRecursive: ""
# Path to TLS certificate file
tlsCert: ""
# Path to TLS private key file
tlsKey: ""
# Path to Diffie-Hellman parameters file
tlsDhParam: ""
# TODO: remove  Disable HTTP2
http2Disable: ""

Investigate about checkups tests issues

Context

As shown on the picture below, some tests are failing when launching the Helm Charts with default values:
The tests could be found at https://localhost:3000/checkup
image

Objective

Find why the tests aren't working

cryptpad-0 Pod never getting ready with resource limits/requests from values.yaml

I tried my first cryptpad installation today, but the pod refuses to reach a stable running state.

I increased the resource limits/requests from 128Mi (example value in the values.yaml) to 512Mi to 1024Mi. That seemed to do the trick, it seems to get ready with 100m CPU and 1024Mi RAM.

It seems the example values given in the values.yaml file are way too low to be practical.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.