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
小 白蛋
Kops
Commits
030ae4ae
Commit
030ae4ae
authored
5 years ago
by
Ciprian Hacman
Browse files
Options
Download
Email Patches
Plain Diff
Make distro detection less strict
(cherry picked from commit
dfee0547
)
parent
c80d0d1d
release-1.15
1.15.3
1.15.2
1.15.1
v1.15.3
v1.15.2
v1.15.1
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmd/kops/update_cluster.go
+2
-2
cmd/kops/update_cluster.go
with
2 additions
and
2 deletions
+2
-2
cmd/kops/update_cluster.go
+
2
-
2
View file @
030ae4ae
...
...
@@ -243,8 +243,8 @@ func RunUpdateCluster(f *util.Factory, clusterName string, out io.Writer, c *Upd
instanceGroups
=
append
(
instanceGroups
,
&
list
.
Items
[
i
])
// Try to guess the path for additional third party volume plugins in CoreOS and Flatcar
image
:=
list
.
Items
[
i
]
.
Spec
.
Image
if
strings
.
HasPrefix
(
image
,
"595879546273/C
ore
OS
"
)
||
strings
.
HasPrefix
(
image
,
"075585003325/F
latcar"
)
{
image
:=
strings
.
ToLower
(
list
.
Items
[
i
]
.
Spec
.
Image
)
if
strings
.
Contains
(
image
,
"c
ore
os
"
)
||
strings
.
Contains
(
image
,
"f
latcar"
)
{
if
cluster
.
Spec
.
Kubelet
==
nil
{
cluster
.
Spec
.
Kubelet
=
&
kops
.
KubeletConfigSpec
{}
}
...
...
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