Skip to content

Commit 781f774

Browse files
committed
fix: linter
1 parent 5bc43ca commit 781f774

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

docs/content/http-proxy.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,8 @@ spec:
4040
- no-proxy-2.example.com
4141
```
4242
43-
The `additionalNo` list will be added to default pre-calculated values that apply on k8s networking.
44-
45-
```
46-
localhost,127.0.0.1,<POD CIDRS>,<SERVICE CIDRS>,kubernetes,.svc,.svc.cluster,.svc.cluster.local
47-
```
43+
The `additionalNo` list will be added to default pre-calculated values that apply on k8s networking
44+
`localhost,127.0.0.1,<POD CIDRS>,<SERVICE CIDRS>,kubernetes,.svc,.svc.cluster,.svc.cluster.local`.
4845

4946
Applying this configuration will result in new bootstrap files on the `KubeadmControlPlaneTemplate`
5047
and `KubeadmConfigTemplate`.

pkg/handlers/httpproxy/inject_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ func TestGenerateNoProxy(t *testing.T) {
227227

228228
for _, tc := range testCases {
229229
t.Run(tc.name, func(tt *testing.T) {
230+
tt.Parallel()
230231
g.Expect(generateNoProxy(tc.cluster)).To(Equal(tc.expectedNoProxy))
231232
})
232233
}

0 commit comments

Comments
 (0)