This repository was archived by the owner on Apr 11, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +0
-28
lines changed
pkg/handlers/generic/mutation/httpproxy/tests Expand file tree Collapse file tree 1 file changed +0
-28
lines changed Original file line number Diff line number Diff line change @@ -30,34 +30,6 @@ func TestGeneratePatches(
30
30
capitest.PatchTestDef {
31
31
Name : "unset variable" ,
32
32
},
33
- capitest.PatchTestDef {
34
- Name : "http proxy set for KubeadmConfigTemplate default-worker" ,
35
- Vars : []runtimehooksv1.Variable {
36
- capitest .VariableWithValue (
37
- variableName ,
38
- v1alpha1.HTTPProxy {
39
- HTTP : "http://example.com" ,
40
- HTTPS : "https://example.com" ,
41
- AdditionalNo : []string {"no-proxy.example.com" },
42
- },
43
- variablePath ... ,
44
- ),
45
- capitest .VariableWithValue (
46
- "builtin" ,
47
- map [string ]any {
48
- "machineDeployment" : map [string ]any {
49
- "class" : "default-worker" ,
50
- },
51
- },
52
- ),
53
- },
54
- RequestItem : request .NewKubeadmConfigTemplateRequestItem ("" ),
55
- ExpectedPatchMatchers : []capitest.JSONPatchMatcher {{
56
- Operation : "add" ,
57
- Path : "/spec/template/spec/files" ,
58
- ValueMatcher : gomega .HaveLen (2 ),
59
- }},
60
- },
61
33
capitest.PatchTestDef {
62
34
Name : "http proxy set for KubeadmConfigTemplate generic worker" ,
63
35
Vars : []runtimehooksv1.Variable {
You can’t perform that action at this time.
0 commit comments