Skip to content

Commit

Permalink
Remove variables used on image with nginx #13
Browse files Browse the repository at this point in the history
  • Loading branch information
gsautner committed Oct 20, 2023
1 parent fbb0aed commit 8129d0b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 67 deletions.
36 changes: 0 additions & 36 deletions charts/cryptpad/templates/cryptpad.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
31 changes: 0 additions & 31 deletions charts/cryptpad/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: ""
Expand Down

0 comments on commit 8129d0b

Please sign in to comment.