Skip to content

Commit 8129d0b

Browse files
committed
Remove variables used on image with nginx #13
1 parent fbb0aed commit 8129d0b

File tree

2 files changed

+0
-67
lines changed

2 files changed

+0
-67
lines changed

charts/cryptpad/templates/cryptpad.yaml

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -75,42 +75,6 @@ spec:
7575
value: "{{ include "cryptpad-helm.sandboxDomain" . }}"
7676
- name: CPAD_CONF
7777
value: "{{ .Values.cpadConfig }}"
78-
{{- if .Values.apiDomain }}
79-
- name: CPAD_API_DOMAIN
80-
value: "{{ .Values.apiDomain }}"
81-
{{- end }}
82-
{{- if .Values.filesDomain }}
83-
- name: CPAD_FILES_DOMAIN
84-
value: "{{ .Values.filesDomain }}"
85-
{{- end }}
86-
{{- if .Values.trustedProxy }}
87-
- name: CPAD_TRUSTED_PROXY
88-
value: "{{ .Values.trustedProxy }}"
89-
{{- end }}
90-
{{- if .Values.realIpHeader }}
91-
- name: CPAD_REALIP_HEADER
92-
value: "{{ .Values.realIpHeader }}"
93-
{{- end }}
94-
{{- if .Values.realIpRecursive }}
95-
- name: CPAD_REALIP_RECURSIVE
96-
value: "{{ .Values.realIpRecursive }}"
97-
{{- end }}
98-
{{- if .Values.tlsCert }}
99-
- name: CPAD_TLS_CERT
100-
value: "{{ .Values.tlsCert }}"
101-
{{- end }}
102-
{{- if .Values.tlsKey }}
103-
- name: CPAD_TLS_KEY
104-
value: "{{ .Values.tlsKey }}"
105-
{{- end }}
106-
{{- if .Values.tlsDhParam }}
107-
- name: CPAD_TLS_DHPARAM
108-
value: "{{ .Values.tlsDhParam }}"
109-
{{- end }}
110-
{{- if .Values.http2Disable }}
111-
- name: CPAD_HTTP2_DISABLE
112-
value: "{{ .Values.http2Disable }}"
113-
{{- end }}
11478
ports:
11579
- name: {{ .Values.service.internalPort }}
11680
containerPort: {{ .Values.service.containerPort }}

charts/cryptpad/values.yaml

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -88,37 +88,6 @@ config:
8888
# -- Allow documents and media be embedded on other websites. This will add an "Embed" option on the Share menu.
8989
enableEmbedding: false
9090

91-
# TODO: remove
92-
# Check values on https://github.com/xwiki-labs/cryptpad-docker#environment-variables
93-
# For CPAD_MAIN_DOMAIN and CPAD_SANDBOX_DOMAIN values httpUnsafeOrigin and httpSafeOrigin will be used.
94-
# CryptPad API subdomain FQDN
95-
# @ignore
96-
apiDomain: ""
97-
# CryptPad files subdomain FQDN
98-
# @ignore
99-
filesDomain: ""
100-
# Trusted proxy address or CIDR
101-
# @ignore
102-
trustedProxy: ""
103-
# Header to get client IP from (`X-Real-IP` or `X-Forwarded-For`)
104-
# @ignore
105-
realIpHeader: ""
106-
# 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))
107-
# @ignore
108-
realIpRecursive: ""
109-
# Path to TLS certificate file
110-
# @ignore
111-
tlsCert: ""
112-
# Path to TLS private key file
113-
# @ignore
114-
tlsKey: ""
115-
# Path to Diffie-Hellman parameters file
116-
# @ignore
117-
tlsDhParam: ""
118-
# Disable HTTP2
119-
# @ignore
120-
http2Disable: ""
121-
12291
imagePullSecrets: []
12392
nameOverride: ""
12493
fullnameOverride: ""

0 commit comments

Comments
 (0)