Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 5 additions & 9 deletions charts/intel/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,10 @@ spec:
- name: CT_HQ_BASE_URL
value: {{ .Values.codetogether.url | quote }}

- name: CT_TRUSTSTORE_OPTIONS
value: >-
{{- if .Values.java.customCacerts.enabled }}
-Djavax.net.ssl.trustStore=/etc/ssl/certs/java/cacerts
{{- end }}
{{- if and .Values.java.customCacerts.enabled .Values.java.customCacerts.trustStorePasswordKey }}
-Djavax.net.ssl.trustStorePassword=$(TRUST_STORE_PASSWORD)
{{- end }}
{{- if .Values.java.customCacerts.enabled }}
- name: CT_TRUST_STORE
value: -Djavax.net.ssl.trustStore=/etc/ssl/certs/java/cacerts
{{- end }}

# Custom Java options (excluding trust store related settings)
{{- if .Values.java.customJavaOptions }}
Expand All @@ -60,7 +56,7 @@ spec:

# Set trust store password only if trustStorePasswordKey is provided
{{- if and .Values.java.customCacerts.enabled .Values.java.customCacerts.trustStorePasswordKey }}
- name: TRUST_STORE_PASSWORD
- name: CT_TRUST_STORE_PASSWD
valueFrom:
secretKeyRef:
name: {{ .Values.java.customCacerts.cacertsSecretName }}
Expand Down
Loading