Skip to content

Commit c695826

Browse files
coreydaleyopenshift-cherrypick-robot
authored and
openshift-cherrypick-robot
committed
OCPBUGS-19358: Allow GIT_LFS_SKIP_SMUDGE environment variable
1 parent 01c8600 commit c695826

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)