Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
0ccc2555
Commit
0ccc2555
authored
8 years ago
by
Matthew Mosesohn
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #917 from mattymo/rkt_resolvconf
Fix setting resolvconf when using rkt deploy mode
parents
b26a711e
b6c3e616
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/kubernetes/preinstall/tasks/set_resolv_facts.yml
+4
-4
4 additions, 4 deletions
roles/kubernetes/preinstall/tasks/set_resolv_facts.yml
with
4 additions
and
4 deletions
roles/kubernetes/preinstall/tasks/set_resolv_facts.yml
+
4
−
4
View file @
0ccc2555
...
...
@@ -17,16 +17,16 @@
default_resolver
:
>-
{%- if cloud_provider is defined and cloud_provider == 'gce' -%}169.254.169.254{%- else -%}8.8.8.8{%- endif -%}
-
name
:
check kubelet
-
name
:
check
if
kubelet
is configured
stat
:
path
:
"
{{
bin
_dir
}}/kubelet"
register
:
kubelet
path
:
"
{{
kube_config
_dir
}}/kubelet
.env
"
register
:
kubelet
_configured
changed_when
:
false
-
name
:
check if early DNS configuration stage
set_fact
:
dns_early
:
>-
{%- if kubelet.stat.exists -%}false{%- else -%}true{%- endif -%}
{%- if kubelet
_configured
.stat.exists -%}false{%- else -%}true{%- endif -%}
-
name
:
target resolv.conf files
set_fact
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment