Skip to content

Commit

Permalink
fix tenant-requirement-checker external proxy configmap reference
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarorm22 committed Sep 25, 2024
1 parent 0a677d5 commit 8c8fbdf
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions chart/templates/_commonChecks.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -197,11 +197,16 @@ Return common collectors for preflights and support-bundle
emptyDir:
sizeLimit: 8Mi
{{- end }}
{{- if and .Values.externalProxy.enabled (or .Values.externalProxy.sslCA .Values.externalProxy.sslCAConfigmapName) }}
{{- if and .Values.externalProxy.enabled .Values.externalProxy.sslCA }}
- name: proxy-ssl-ca
emptyDir:
sizeLimit: 1Mi
{{- end }}
{{- if and .Values.externalProxy.enabled .Values.externalProxy.sslCAConfigmapName }}
- name: proxy-ssl-ca
configMap:
name: {{ include "carto.proxy.configMapName" . }}
{{- end }}
{{- if and .Values.router.tlsCertificates.certificateValueBase64 .Values.router.tlsCertificates.privateKeyValueBase64 }}
- name: router-tls-cert-and-key
emptyDir:
Expand Down Expand Up @@ -499,7 +504,7 @@ Return customer values to use in preflights and support-bundle
- name: no_proxy
value: {{ join "," .Values.externalProxy.excludedDomains | quote }}
{{- end }}
{{- if .Values.externalProxy.sslCA }}
{{- if (or .Values.externalProxy.sslCA .Values.externalProxy.sslCAConfigmapName) }}
- name: NODE_EXTRA_CA_CERTS
value: {{ include "carto.proxy.configMapMountAbsolutePath" . | quote }}
{{- end }}
Expand Down

0 comments on commit 8c8fbdf

Please sign in to comment.