Skip to content

Commit

Permalink
Merge pull request #1673 from openshift-cherrypick-robot/cherry-pick-…
Browse files Browse the repository at this point in the history
…1671-to-release-4.13

[release-4.13] OCPBUGS-23411: Allow GIT_LFS_SKIP_SMUDGE environment variable
  • Loading branch information
openshift-merge-bot[bot] authored Nov 18, 2023
2 parents 01c8600 + c695826 commit 0f638a8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions build/v1/consts.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,10 @@ const (
StatusReasonBuildPodEvicted StatusReason = "BuildPodEvicted"
)

// env vars
// WhitelistEnvVarNames is a list of special env vars allows s2i containers
var WhitelistEnvVarNames = []string{"BUILD_LOGLEVEL", "GIT_SSL_NO_VERIFY", "HTTP_PROXY", "HTTPS_PROXY", "LANG", "NO_PROXY"}
// WhitelistEnvVarNames is a list of environment variable names that are allowed to be specified
// in a buildconfig and merged into the created build pods, the code for this is located in
// openshift/openshift-controller-manager
var WhitelistEnvVarNames = []string{"BUILD_LOGLEVEL", "GIT_SSL_NO_VERIFY", "GIT_LFS_SKIP_SMUDGE", "HTTP_PROXY", "HTTPS_PROXY", "LANG", "NO_PROXY"}

// env vars
const (
Expand Down

0 comments on commit 0f638a8

Please sign in to comment.