Skip to content

Commit 65d2a48

Browse files
feat(charts, compose): add CT_TRUST_ALL_CERTS support (#158)
* feat(charts, compose): add CT_TRUST_ALL_CERTS support Fixes: #157 - values.yaml: introduce `java.trustAllCerts` (default false) to toggle CT_TRUST_ALL_CERTS - deployment.yaml: inject `CT_TRUST_ALL_CERTS=true` into container env when `trustAllCerts` is enabled - .env-template: add `CT_TRUST_ALL_CERTS` entry for Docker Compose - compose.yml: reference `${CT_TRUST_ALL_CERTS}` in codetogether‑intel service * refactor(charts): move trustAllCerts under codetogether section - values.yaml: remove java.trustAllCerts; add codetogether.trustAllCerts (default false) - deployment.yaml: guard CT_TRUST_ALL_CERTS injection on .Values.codetogether.trustAllCerts * fix(compose): remove redundant CT_TRUST_ALL_CERTS env entry - Drop explicit `CT_TRUST_ALL_CERTS` from the `environment` section in the `codetogether-intel` service - Rely on `env_file: .env` to inject the variable --------- Co-authored-by: engineering <engineering@codetogether.com>
1 parent 0191fcd commit 65d2a48

3 files changed

Lines changed: 10 additions & 0 deletions

File tree

charts/intel/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ spec:
7676
key: {{ .Values.java.customCacerts.trustStorePasswordKey }}
7777
optional: true
7878
{{- end }}
79+
{{- if .Values.codetogether.trustAllCerts }}
80+
- name: CT_TRUST_ALL_CERTS
81+
value: "true"
82+
{{- end }}
7983
{{- if .Values.ai.enabled }}
8084
- name: CT_HQ_OLLAMA_AI_URL
8185
value: {{ if eq .Values.ai.mode "bundled" }}

charts/intel/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ imageCredentials:
3838
#
3939
codetogether:
4040
url: https://<server-fqdn>
41+
trustAllCerts: false # Set to 'true' to trust all certificates
42+
4143

4244
hqproperties:
4345
hq.sso.client.id: CLIENTID.apps.googleusercontent.com

compose/.env-template

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,7 @@ DHPARAM_PEM=dhparam.pem
5151
# Uncomment the following lines to enable AI integration with Ollama
5252
#CT_HQ_OLLAMA_AI_URL=http://codetogether-llm:8000
5353
#CT_HQ_OLLAMA_AI_MODEL_NAME=gemma3:1b
54+
55+
# Enable “to trust all certificates”
56+
CT_TRUST_ALL_CERTS=false
57+

0 commit comments

Comments
 (0)