diff --git a/charts/incubator/cryptpad/Chart.yaml b/charts/incubator/cryptpad/Chart.yaml index b4c20da3c50..f5b1c2134e6 100644 --- a/charts/incubator/cryptpad/Chart.yaml +++ b/charts/incubator/cryptpad/Chart.yaml @@ -6,7 +6,7 @@ appVersion: "latest" dependencies: - name: common repository: https://library-charts.truecharts.org - version: 13.2.2 + version: 14.3.5 deprecated: false description: CryptPad is the Zero Knowledge realtime collaborative editor. home: https://truecharts.org/charts/incubator/cryptpad @@ -25,4 +25,4 @@ sources: - https://github.com/truecharts/charts/tree/master/charts/incubator/cryptpad - https://cryptpad.fr/ type: application -version: 3.0.9 +version: 4.0.0 diff --git a/charts/incubator/cryptpad/questions.yaml b/charts/incubator/cryptpad/questions.yaml index d11d63a8d07..c3454f63c24 100644 --- a/charts/incubator/cryptpad/questions.yaml +++ b/charts/incubator/cryptpad/questions.yaml @@ -10,6 +10,19 @@ questions: # Include{replicas1} # Include{podSpec} # Include{containerMain} + - variable: env + group: "App Configuration" + label: "Image Environment" + schema: + additional_attrs: true + type: dict + attrs: + - variable: CPAD_MAIN_DOMAIN + label: CPAD_MAIN_DOMAIN + description: Enter your main Cryptpad Main Domain here + schema: + type: string + default: "" # Include{containerBasic} # Include{containerAdvanced} @@ -60,6 +73,28 @@ questions: type: int default: 3001 required: true + - variable: websocket + label: 'Websocket Port' + description: "Port for Websocket connections" + schema: + additional_attrs: true + type: dict + attrs: +# Include{serviceSelectorLoadBalancer} +# Include{serviceSelectorExtras} + - variable: websocket + label: "Websocket Service Port Configuration" + schema: + additional_attrs: true + type: dict + attrs: + - variable: port + label: "Port" + description: "This port exposes the container port on the service" + schema: + type: int + default: 3003 + required: true # Include{serviceExpertRoot} # Include{serviceExpert} # Include{serviceList} diff --git a/charts/incubator/cryptpad/values.yaml b/charts/incubator/cryptpad/values.yaml index 1e53fec9308..0e1b8176e0e 100644 --- a/charts/incubator/cryptpad/values.yaml +++ b/charts/incubator/cryptpad/values.yaml @@ -1,7 +1,7 @@ image: pullPolicy: IfNotPresent - repository: tccr.io/truecharts/cryptpad - tag: latest@sha256:34094a8d0491a70f4debb669779a2fef671b1c25d58daf55e5b446e03420a52b + repository: cryptpad/cryptpad + tag: version-5.5.0@sha256:e39fefe674fd5b6c61029a8e233fcb50237acf60e60ac677f9b76446b23104ef securityContext: container: @@ -25,7 +25,9 @@ workload: startup: type: http path: / - env: {} + env: + CPAD_MAIN_DOMAIN: "https://your-main-domain.com" + CPAD_CONF: /cryptpad/config/config.js persistence: blobpath: @@ -34,9 +36,6 @@ persistence: blockpath: enabled: true mountPath: /cryptpad/block - configpath: - enabled: true - mountPath: /cryptpad/config/config.js customizepath: enabled: true mountPath: /cryptpad/customize @@ -62,6 +61,14 @@ service: port: 3001 protocol: tcp targetPort: 3001 + websocket: + enabled: true + ports: + websocket: + enabled: true + port: 3003 + protocol: tcp + targetPort: 3003 portal: open: