Skip to content

Commit 9544588

Browse files
committed
feat: add GIT_SSL_CAINFO environment variable for secure Git operations
This change introduces the GIT_SSL_CAINFO variable to specify the location of the CA certificate for SSL connections, enhancing the security of Git operations within the app-proxy environment. Additionally, it removes the WORKFLOW_PIPELINES_WEBHOOKS_TLS_SECRET variable to streamline the configuration.
1 parent 90a7679 commit 9544588

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

charts/gitops-runtime/templates/_components/cap-app-proxy/environment-variables/_main-container.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ IRW_JIRA_ENRICHMENT_TASK_IMAGE:
211211
key: enrichmentJiraEnrichmentImage
212212
optional: true
213213
NODE_EXTRA_CA_CERTS: /app/config/all/all.cer
214+
GIT_SSL_CAINFO: /app/config/all/all.cer
214215
{{- end -}}
215216

216217
{{/*

charts/gitops-runtime/templates/app-proxy/_app-proxy-env.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ GIT_USERNAME: {{ .Values.global.runtime.gitCredentials.username }}
1212
GIT_PASSWORD:
1313
{{- include "codefresh-gitops-runtime.runtime-gitcreds.password.env-var-value" . | nindent 2 }}
1414
{{- end }}
15-
WORKFLOW_PIPELINES_WEBHOOKS_TLS_SECRET: codefresh-workflow-pipelines-tls
1615
{{- /* Target account id, used for hosted runtimes registration. Not used in hybrid */}}
1716
{{- if .Values.global.runtime.codefreshHosted }}
1817
INSTALLATION_TYPE: HELM_HOSTED

0 commit comments

Comments
 (0)