mirror of
https://github.com/yannh/kubeconform.git
synced 2026-02-22 03:07:01 +00:00
update config test
This commit is contained in:
parent
1cfbacd92c
commit
d53c2e9913
1 changed files with 2 additions and 1 deletions
|
|
@ -97,10 +97,11 @@ func TestFromFlags(t *testing.T) {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
[]string{"-ignore-missing-schemas", "-kubernetes-version", "1.16.0", "-n", "2", "-output", "json",
|
[]string{"-cache", "cache", "-ignore-missing-schemas", "-kubernetes-version", "1.16.0", "-n", "2", "-output", "json",
|
||||||
"-schema-location", "folder", "-schema-location", "anotherfolder", "-skip", "kinda,kindb", "-strict",
|
"-schema-location", "folder", "-schema-location", "anotherfolder", "-skip", "kinda,kindb", "-strict",
|
||||||
"-reject", "kindc,kindd", "-summary", "-verbose", "file1", "file2"},
|
"-reject", "kindc,kindd", "-summary", "-verbose", "file1", "file2"},
|
||||||
Config{
|
Config{
|
||||||
|
Cache: "cache",
|
||||||
Files: []string{"file1", "file2"},
|
Files: []string{"file1", "file2"},
|
||||||
IgnoreMissingSchemas: true,
|
IgnoreMissingSchemas: true,
|
||||||
KubernetesVersion: "1.16.0",
|
KubernetesVersion: "1.16.0",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue