Skip to content

Commit

Permalink
fix test issues after 1.30.2 k8s rebase
Browse files Browse the repository at this point in the history
- component-base log types added a text option in
  FormatOptions [0] that was not there in 1.29 [1]

[0] https://github.com/kubernetes/component-base/blob/244709c58c3669b71514f38c03d08501c690423f/logs/api/v1/types.go#L99
[1] https://github.com/kubernetes/component-base/blob/3c9d29fd4504755d1a42e59053488081604186f4/logs/api/v1/types.go

Signed-off-by: Jamo Luhrsen <jluhrsen@gmail.com>
  • Loading branch information
jluhrsen committed Jun 28, 2024
1 parent 6c5b39a commit 48ee7cc
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/network/kube_proxy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ logging:
options:
json:
infoBufferSize: "0"
text:
infoBufferSize: "0"
verbosity: 0
metricsBindAddress: 1.2.3.4:999
mode: blah
Expand Down Expand Up @@ -218,6 +220,8 @@ logging:
options:
json:
infoBufferSize: "0"
text:
infoBufferSize: "0"
verbosity: 0
metricsBindAddress: '[fd00:1234::4]:51999'
mode: blah
Expand Down Expand Up @@ -471,6 +475,8 @@ logging:
options:
json:
infoBufferSize: "0"
text:
infoBufferSize: "0"
verbosity: 0
metricsBindAddress: 0.0.0.0:29102
mode: iptables
Expand Down
4 changes: 4 additions & 0 deletions pkg/network/openshift_sdn_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,8 @@ logging:
options:
json:
infoBufferSize: "0"
text:
infoBufferSize: "0"
verbosity: 0
metricsBindAddress: 127.0.0.1:29101
mode: unidling+iptables
Expand Down Expand Up @@ -607,6 +609,8 @@ logging:
options:
json:
infoBufferSize: "0"
text:
infoBufferSize: "0"
verbosity: 0
metricsBindAddress: 127.0.0.1:29101
mode: iptables
Expand Down
10 changes: 10 additions & 0 deletions pkg/util/k8s/kubeproxy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ logging:
options:
json:
infoBufferSize: "0"
text:
infoBufferSize: "0"
verbosity: 0
metricsBindAddress: 0.0.0.0:9102
mode: iptables
Expand Down Expand Up @@ -150,6 +152,8 @@ logging:
options:
json:
infoBufferSize: "0"
text:
infoBufferSize: "0"
verbosity: 0
metricsBindAddress: 5.6.7.8:9999
mode: userspace
Expand Down Expand Up @@ -223,6 +227,8 @@ logging:
options:
json:
infoBufferSize: "0"
text:
infoBufferSize: "0"
verbosity: 0
metricsBindAddress: 5.6.7.8:9102
mode: iptables
Expand Down Expand Up @@ -296,6 +302,8 @@ logging:
options:
json:
infoBufferSize: "0"
text:
infoBufferSize: "0"
verbosity: 0
metricsBindAddress: 0.0.0.0:9999
mode: iptables
Expand Down Expand Up @@ -374,6 +382,8 @@ logging:
options:
json:
infoBufferSize: "0"
text:
infoBufferSize: "0"
verbosity: 0
metricsBindAddress: 0.0.0.0:9102
mode: iptables
Expand Down

0 comments on commit 48ee7cc

Please sign in to comment.