Add --var-file-allowlist in server configuration (#2362)

This commit is contained in:
Li Lin
2022-07-07 10:32:18 -07:00
committed by GitHub
parent 8c0ca6bb29
commit 6b0fe76f4e
8 changed files with 257 additions and 5 deletions

View File

@@ -131,11 +131,12 @@ func TestExecute_Defaults(t *testing.T) {
Ok(t, err)
strExceptions := map[string]string{
GHUserFlag: "user",
GHTokenFlag: "token",
DataDirFlag: dataDir,
AtlantisURLFlag: "http://" + hostname + ":4141",
RepoAllowlistFlag: "*",
GHUserFlag: "user",
GHTokenFlag: "token",
DataDirFlag: dataDir,
AtlantisURLFlag: "http://" + hostname + ":4141",
RepoAllowlistFlag: "*",
VarFileAllowlistFlag: dataDir,
}
strIgnore := map[string]bool{
"config": true,