Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
b4fc1c7c
Commit
b4fc1c7c
authored
May 25, 2017
by
tyrannasaurusbanks
Committed by
iowen
May 25, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add check to ensure helm doesnt 'wait' for external services to become 'ready'
parent
f250fce9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
wait.go
pkg/kube/wait.go
+5
-0
No files found.
pkg/kube/wait.go
View file @
b4fc1c7c
...
...
@@ -136,6 +136,11 @@ func podsReady(pods []v1.Pod) bool {
func
servicesReady
(
svc
[]
v1
.
Service
)
bool
{
for
_
,
s
:=
range
svc
{
// ExternalName Services are external to cluster so helm shouldn't be checking to see if they're 'ready' (i.e. have an IP Set)
if
s
.
Spec
.
Type
==
v1
.
ServiceTypeExternalName
{
continue
}
// Make sure the service is not explicitly set to "None" before checking the IP
if
s
.
Spec
.
ClusterIP
!=
v1
.
ClusterIPNone
&&
!
v1
.
IsServiceIPSet
(
&
s
)
{
return
false
...
...
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