Skip to content

Commit 0f638a8

Browse files
Merge pull request #1673 from openshift-cherrypick-robot/cherry-pick-1671-to-release-4.13
[release-4.13] OCPBUGS-23411: Allow GIT_LFS_SKIP_SMUDGE environment variable
2 parents 01c8600 + c695826 commit 0f638a8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

build/v1/consts.go

+4-3
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,10 @@ const (
164164
StatusReasonBuildPodEvicted StatusReason = "BuildPodEvicted"
165165
)
166166

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

171172
// env vars
172173
const (

0 commit comments

Comments
 (0)