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
ce3443dd
Commit
ce3443dd
authored
Jun 26, 2023
by
Daishan Peng
Committed by
Brad Davidson
Jul 03, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow k3s to customize apiServerPort on helm-controller
Signed-off-by:
Daishan Peng
<
daishan@acorn.io
>
parent
324f9ad4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
go.mod
go.mod
+1
-1
go.sum
go.sum
+2
-2
server.go
pkg/server/server.go
+1
-0
No files found.
go.mod
View file @
ce3443dd
...
@@ -108,7 +108,7 @@ require (
...
@@ -108,7 +108,7 @@ require (
github.com/gorilla/mux v1.8.0
github.com/gorilla/mux v1.8.0
github.com/gorilla/websocket v1.5.0
github.com/gorilla/websocket v1.5.0
github.com/json-iterator/go v1.1.12
github.com/json-iterator/go v1.1.12
github.com/k3s-io/helm-controller v0.15.
0
github.com/k3s-io/helm-controller v0.15.
2
github.com/k3s-io/kine v0.10.1
github.com/k3s-io/kine v0.10.1
github.com/klauspost/compress v1.16.5
github.com/klauspost/compress v1.16.5
github.com/kubernetes-sigs/cri-tools v0.0.0-00010101000000-000000000000
github.com/kubernetes-sigs/cri-tools v0.0.0-00010101000000-000000000000
...
...
go.sum
View file @
ce3443dd
...
@@ -626,8 +626,8 @@ github.com/k3s-io/etcd/raft/v3 v3.5.7-k3s1 h1:C2FlzI9JcwUhxoT7KSvxcK3aLyzy9bMM5z
...
@@ -626,8 +626,8 @@ github.com/k3s-io/etcd/raft/v3 v3.5.7-k3s1 h1:C2FlzI9JcwUhxoT7KSvxcK3aLyzy9bMM5z
github.com/k3s-io/etcd/raft/v3 v3.5.7-k3s1/go.mod h1:TflkAb/8Uy6JFBxcRaH2Fr6Slm9mCPVdI2efzxY96yU=
github.com/k3s-io/etcd/raft/v3 v3.5.7-k3s1/go.mod h1:TflkAb/8Uy6JFBxcRaH2Fr6Slm9mCPVdI2efzxY96yU=
github.com/k3s-io/etcd/server/v3 v3.5.7-k3s1 h1:T4VGL9jq4WvxAd7Jiilt7f3ZBPkqPTqa0GZD9t5j50A=
github.com/k3s-io/etcd/server/v3 v3.5.7-k3s1 h1:T4VGL9jq4WvxAd7Jiilt7f3ZBPkqPTqa0GZD9t5j50A=
github.com/k3s-io/etcd/server/v3 v3.5.7-k3s1/go.mod h1:gxBgT84issUVBRpZ3XkW1T55NjOb4vZZRI4wVvNhf4A=
github.com/k3s-io/etcd/server/v3 v3.5.7-k3s1/go.mod h1:gxBgT84issUVBRpZ3XkW1T55NjOb4vZZRI4wVvNhf4A=
github.com/k3s-io/helm-controller v0.15.
0 h1:ZKpgkq4TX/EAebCoJhPfGRF7w1F8Kz1Kb4ugbkKZoic
=
github.com/k3s-io/helm-controller v0.15.
2 h1:H5OWiNPhp9ZoyZOldt0ewq7wTy4UnU9j7DHdb7swi0Q
=
github.com/k3s-io/helm-controller v0.15.
0
/go.mod h1:BgCPBQblj/Ect4Q7/Umf86WvyDjdG/34D+n8wfXtoeM=
github.com/k3s-io/helm-controller v0.15.
2
/go.mod h1:BgCPBQblj/Ect4Q7/Umf86WvyDjdG/34D+n8wfXtoeM=
github.com/k3s-io/kine v0.10.1 h1:HdpG84WaZvIYYzFB+kT8grNhtlsGzLLYN/MohV+r7+U=
github.com/k3s-io/kine v0.10.1 h1:HdpG84WaZvIYYzFB+kT8grNhtlsGzLLYN/MohV+r7+U=
github.com/k3s-io/kine v0.10.1/go.mod h1:TU8mr4oByeEPKChQBUpSdGc1mZk+Txr2yZhRY+Jch1Q=
github.com/k3s-io/kine v0.10.1/go.mod h1:TU8mr4oByeEPKChQBUpSdGc1mZk+Txr2yZhRY+Jch1Q=
github.com/k3s-io/klog/v2 v2.90.1-k3s1 h1:QOJ/1xi4ERgpPGmSI3n1f989XjII+OvPdgdiMOKqV9s=
github.com/k3s-io/klog/v2 v2.90.1-k3s1 h1:QOJ/1xi4ERgpPGmSI3n1f989XjII+OvPdgdiMOKqV9s=
...
...
pkg/server/server.go
View file @
ce3443dd
...
@@ -233,6 +233,7 @@ func coreControllers(ctx context.Context, sc *Context, config *Config) error {
...
@@ -233,6 +233,7 @@ func coreControllers(ctx context.Context, sc *Context, config *Config) error {
helmchart
.
Register
(
ctx
,
helmchart
.
Register
(
ctx
,
metav1
.
NamespaceAll
,
metav1
.
NamespaceAll
,
helmcommon
.
Name
,
helmcommon
.
Name
,
strconv
.
Itoa
(
config
.
ControlConfig
.
APIServerPort
),
k8s
,
k8s
,
apply
,
apply
,
util
.
BuildControllerEventRecorder
(
k8s
,
helmcommon
.
Name
,
metav1
.
NamespaceAll
),
util
.
BuildControllerEventRecorder
(
k8s
,
helmcommon
.
Name
,
metav1
.
NamespaceAll
),
...
...
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