Skip to content

Commit

Permalink
fix: provision REQUESTS_CA_BUNDLE env for self-signed certificate (#117)
Browse files Browse the repository at this point in the history
* fix: provision REQUESTS_CA_BUNDLE env for self-signed certificate

* CR changes

* update chart version

---------

Co-authored-by: a.neustroev <a.neustroev@xsolla.com>
  • Loading branch information
thinkingabouther and a-neustroev authored Jun 13, 2024
1 parent 15a74b3 commit 61b2158
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/port-ocean/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: port-ocean
description: A Helm chart for Port Ocean integrations
type: application
version: 0.3.0
version: 0.3.1
appVersion: "0.1.0"
home: https://getport.io/
sources:
Expand Down
2 changes: 2 additions & 0 deletions charts/port-ocean/templates/cron-job/cron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ spec:
{{- if .Values.selfSignedCertificate.enabled }}
- name: SSL_CERT_FILE
value: /etc/ssl/certs/ca-certificates.crt
- name: REQUESTS_CA_BUNDLE
value: /etc/ssl/certs/ca-certificates.crt
{{- end }}
{{- if .Values.extraEnv }}
{{- tpl (toYaml .Values.extraEnv) . | nindent 14 }}
Expand Down
4 changes: 3 additions & 1 deletion charts/port-ocean/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ spec:
{{- if .Values.selfSignedCertificate.enabled }}
- name: SSL_CERT_FILE
value: /etc/ssl/certs/ca-certificates.crt
- name: REQUESTS_CA_BUNDLE
value: /etc/ssl/certs/ca-certificates.crt
{{- end }}
{{- if .Values.extraEnv }}
{{- tpl (toYaml .Values.extraEnv) . | nindent 10 }}
Expand Down Expand Up @@ -133,4 +135,4 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
{{- end }}

0 comments on commit 61b2158

Please sign in to comment.