Skip to content

Commit

Permalink
fix: add the ssl_cert_dir env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ed382 committed Jan 24, 2025
1 parent 73f415d commit 4fdb97c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions charts/testkube-ai-service/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ spec:
value: "{{ .Values.langchain.endpoint }}"
- name: LANGCHAIN_PROJECT
value: "{{ .Values.langchain.project }}"
{{- if or .Values.global.customCaSecretRef .Values.customCaDirPath }}
{{- $certsDir := .Values.customCaDirPath | default "/etc/testkube/certs" }}
- name: SSL_CERT_DIR
value: "{{ $certsDir }}"
{{- end }}
ports:
- name: {{ if .Values.tls.serveHTTPS }}https{{ else }}http{{ end }}
containerPort: {{ .Values.service.port }}
Expand Down

0 comments on commit 4fdb97c

Please sign in to comment.