Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
cad52f65
Commit
cad52f65
authored
Feb 13, 2018
by
Lihua Tang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typos
parent
9438e14d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
jws.go
pkg/controller/bootstrap/jws.go
+1
-1
websocket.go
pkg/kubelet/server/portforward/websocket.go
+1
-1
proxier.go
pkg/proxy/ipvs/proxier.go
+1
-1
No files found.
pkg/controller/bootstrap/jws.go
View file @
cad52f65
...
@@ -33,7 +33,7 @@ func computeDetachedSig(content, tokenID, tokenSecret string) (string, error) {
...
@@ -33,7 +33,7 @@ func computeDetachedSig(content, tokenID, tokenSecret string) (string, error) {
}
}
opts
:=
&
jose
.
SignerOptions
{
opts
:=
&
jose
.
SignerOptions
{
// Since this is a symetric key, go-jose doesn't automatically include
// Since this is a sym
m
etric key, go-jose doesn't automatically include
// the KeyID as part of the protected header. We have to pass it here
// the KeyID as part of the protected header. We have to pass it here
// explicitly.
// explicitly.
ExtraHeaders
:
map
[
jose
.
HeaderKey
]
interface
{}{
ExtraHeaders
:
map
[
jose
.
HeaderKey
]
interface
{}{
...
...
pkg/kubelet/server/portforward/websocket.go
View file @
cad52f65
...
@@ -45,7 +45,7 @@ const (
...
@@ -45,7 +45,7 @@ const (
// options contains details about which streams are required for
// options contains details about which streams are required for
// port forwarding.
// port forwarding.
// All fields incl
du
ed in V4Options need to be expressed explicitly in the
// All fields incl
ud
ed in V4Options need to be expressed explicitly in the
// CRI (pkg/kubelet/apis/cri/{version}/api.proto) PortForwardRequest.
// CRI (pkg/kubelet/apis/cri/{version}/api.proto) PortForwardRequest.
type
V4Options
struct
{
type
V4Options
struct
{
Ports
[]
int32
Ports
[]
int32
...
...
pkg/proxy/ipvs/proxier.go
View file @
cad52f65
...
@@ -95,7 +95,7 @@ var ipvsModules = []string{
...
@@ -95,7 +95,7 @@ var ipvsModules = []string{
"nf_conntrack_ipv4"
,
"nf_conntrack_ipv4"
,
}
}
// In IPVS proxy mode, the following flags need to be set
ted
// In IPVS proxy mode, the following flags need to be set
const
sysctlRouteLocalnet
=
"net/ipv4/conf/all/route_localnet"
const
sysctlRouteLocalnet
=
"net/ipv4/conf/all/route_localnet"
const
sysctlBridgeCallIPTables
=
"net/bridge/bridge-nf-call-iptables"
const
sysctlBridgeCallIPTables
=
"net/bridge/bridge-nf-call-iptables"
const
sysctlVSConnTrack
=
"net/ipv4/vs/conntrack"
const
sysctlVSConnTrack
=
"net/ipv4/vs/conntrack"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment