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
be3283c9
Unverified
Commit
be3283c9
authored
4 years ago
by
jeanfabrice
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix conflicting clusterIP fact between coredns and nodelocaldns (#6195)
parent
249b0a2a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/kubernetes-apps/ansible/tasks/nodelocaldns.yml
+3
-3
3 additions, 3 deletions
roles/kubernetes-apps/ansible/tasks/nodelocaldns.yml
with
3 additions
and
3 deletions
roles/kubernetes-apps/ansible/tasks/nodelocaldns.yml
+
3
−
3
View file @
be3283c9
---
-
name
:
Kubernetes Apps | set up necessary nodelocaldns parameters
set_fact
:
c
lusterIP
:
>-
primaryC
lusterIP
:
>-
{%- if dns_mode in ['coredns', 'coredns_dual'] -%}
{{ skydns_server }}
{%- elif dns_mode == 'manual' -%}
...
...
@@ -21,9 +21,9 @@
vars
:
forwardTarget
:
>-
{%- if secondaryclusterIP is defined and dns_mode == 'coredns_dual' -%}
{{
c
lusterIP }} {{ secondaryclusterIP }}
{{
primaryC
lusterIP }} {{ secondaryclusterIP }}
{%- else -%}
{{
c
lusterIP }}
{{
primaryC
lusterIP }}
{%- endif -%}
upstreamForwardTarget
:
>-
{%- if resolvconf_mode == 'host_resolvconf' and upstream_dns_servers is defined and upstream_dns_servers|length > 0 -%}
...
...
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