Skip to content

Commit

Permalink
use private CA function in kots-config
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarorm22 committed Sep 24, 2024
1 parent f09d965 commit 0a677d5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions manifests/kots-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -661,6 +661,11 @@ spec:
default: "0"
help_text: |-
Specify if CARTO Self-hosted should check if the proxy certificate is valid or not.
- name: externalProxyCAConfigmapName
hidden: true
type: text
value: 'repl{{ PrivateCACert }}'
readonly: true

## SSO
- name: ssoEnabled
Expand Down
2 changes: 1 addition & 1 deletion manifests/kots-helm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ spec:
connectionString: '{{repl ConfigOption "externalProxyHost" }}'
excludedDomains: '{{repl ConfigOption "externalProxyExcludedDomains" }}'
sslRejectUnauthorized: repl{{ if ConfigOptionEquals "externalHttpsProxySslCertificateCheck" "0"}}falserepl{{ else }}truerepl{{ end }}
sslCAConfigmapName: '{{repl PrivateCACert }}'
sslCAConfigmapName: '{{repl ConfigOption "externalProxyCAConfigmapName" }}'
- when: '{{repl ConfigOptionEquals "ssoEnabled" "1"}}'
recursiveMerge: true
values:
Expand Down

0 comments on commit 0a677d5

Please sign in to comment.