Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Rainbond2
Commits
a99c8b08
Commit
a99c8b08
authored
3 years ago
by
barnettZQG
Browse files
Options
Download
Plain Diff
Merge branch 'feature-helmapp-2' of
https://github.com/goodrain/rainbond
into feature-helmapp-2
parents
93b58352
ca2f88d5
main
Develop-V5.X
V5.3
V5.4
feat-V5.10
feat-V5.10.1
feat-containerd
feat-containerd1
feature-helmapp-2
feature-k8s
fixbug-560
master
zqhtest-containerd
v5.10.0-release
v5.9.0-release
v5.8.1-release
v5.8.0-release
v5.7.1-release
v5.7.0-release
v5.6.0-release
v5.5.0-release
v5.5.0-dind
v5.4.1-release
v5.4.0-release
v5.3.3-release
v5.3.2-release
v5.3.1-release
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
worker/server/server.go
+5
-0
worker/server/server.go
with
5 additions
and
0 deletions
+5
-0
worker/server/server.go
+
5
-
0
View file @
a99c8b08
...
...
@@ -712,6 +712,11 @@ func (r *RuntimeServer) ListAppServices(ctx context.Context, in *pb.AppReq) (*pb
func
(
r
*
RuntimeServer
)
convertServices
(
services
[]
*
corev1
.
Service
)
[]
*
pb
.
AppService
{
var
appServices
[]
*
pb
.
AppService
for
_
,
svc
:=
range
services
{
if
svc
.
Spec
.
ClusterIP
==
"None"
{
// ignore headless service
continue
}
var
ports
[]
*
pb
.
AppService_Port
for
_
,
port
:=
range
svc
.
Spec
.
Ports
{
ports
=
append
(
ports
,
&
pb
.
AppService_Port
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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
Menu
Projects
Groups
Snippets
Help