diff --git a/charts/cryptpad/templates/cryptpad.yaml b/charts/cryptpad/templates/cryptpad.yaml index 3ec9f93..b734636 100644 --- a/charts/cryptpad/templates/cryptpad.yaml +++ b/charts/cryptpad/templates/cryptpad.yaml @@ -75,42 +75,6 @@ spec: value: "{{ include "cryptpad-helm.sandboxDomain" . }}" - name: CPAD_CONF value: "{{ .Values.cpadConfig }}" - {{- if .Values.apiDomain }} - - name: CPAD_API_DOMAIN - value: "{{ .Values.apiDomain }}" - {{- end }} - {{- if .Values.filesDomain }} - - name: CPAD_FILES_DOMAIN - value: "{{ .Values.filesDomain }}" - {{- end }} - {{- if .Values.trustedProxy }} - - name: CPAD_TRUSTED_PROXY - value: "{{ .Values.trustedProxy }}" - {{- end }} - {{- if .Values.realIpHeader }} - - name: CPAD_REALIP_HEADER - value: "{{ .Values.realIpHeader }}" - {{- end }} - {{- if .Values.realIpRecursive }} - - name: CPAD_REALIP_RECURSIVE - value: "{{ .Values.realIpRecursive }}" - {{- end }} - {{- if .Values.tlsCert }} - - name: CPAD_TLS_CERT - value: "{{ .Values.tlsCert }}" - {{- end }} - {{- if .Values.tlsKey }} - - name: CPAD_TLS_KEY - value: "{{ .Values.tlsKey }}" - {{- end }} - {{- if .Values.tlsDhParam }} - - name: CPAD_TLS_DHPARAM - value: "{{ .Values.tlsDhParam }}" - {{- end }} - {{- if .Values.http2Disable }} - - name: CPAD_HTTP2_DISABLE - value: "{{ .Values.http2Disable }}" - {{- end }} ports: - name: {{ .Values.service.internalPort }} containerPort: {{ .Values.service.containerPort }} diff --git a/charts/cryptpad/values.yaml b/charts/cryptpad/values.yaml index 49f3da2..ff5aff7 100644 --- a/charts/cryptpad/values.yaml +++ b/charts/cryptpad/values.yaml @@ -88,37 +88,6 @@ config: # -- Allow documents and media be embedded on other websites. This will add an "Embed" option on the Share menu. enableEmbedding: false -# TODO: remove -# Check values on https://github.com/xwiki-labs/cryptpad-docker#environment-variables -# For CPAD_MAIN_DOMAIN and CPAD_SANDBOX_DOMAIN values httpUnsafeOrigin and httpSafeOrigin will be used. -# CryptPad API subdomain FQDN -# @ignore -apiDomain: "" -# CryptPad files subdomain FQDN -# @ignore -filesDomain: "" -# Trusted proxy address or CIDR -# @ignore -trustedProxy: "" -# Header to get client IP from (`X-Real-IP` or `X-Forwarded-For`) -# @ignore -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)) -# @ignore -realIpRecursive: "" -# Path to TLS certificate file -# @ignore -tlsCert: "" -# Path to TLS private key file -# @ignore -tlsKey: "" -# Path to Diffie-Hellman parameters file -# @ignore -tlsDhParam: "" -# Disable HTTP2 -# @ignore -http2Disable: "" - imagePullSecrets: [] nameOverride: "" fullnameOverride: ""