Skip to content

Commit 1da442a

Browse files
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
1 parent 57d2450 commit 1da442a

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

charts/intel/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ spec:
7676
key: {{ .Values.java.customCacerts.trustStorePasswordKey }}
7777
optional: true
7878
{{- end }}
79-
{{- if .Values.java.trustAllCerts }}
79+
{{- if .Values.codetogether.trustAllCerts }}
8080
- name: CT_TRUST_ALL_CERTS
8181
value: "true"
8282
{{- end }}

charts/intel/values.yaml

Lines changed: 2 additions & 1 deletion
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
@@ -93,7 +95,6 @@ java:
9395
# Example:
9496
# customJavaOptions: "-Xms512m -Xmx2g -XX:+UseG1GC"
9597
customJavaOptions: ""
96-
trusstAllCerts: false # Set to 'true' to trust all certificates
9798

9899
#
99100
# Enables and configures Ingress (default = Nginx). The className value can be used

0 commit comments

Comments
 (0)