Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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