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
d2855654
Commit
d2855654
authored
6 years ago
by
Mathieu Herbert
Browse files
Options
Downloads
Patches
Plain Diff
Add tags for coredns and kubedns
parent
e71f2619
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
roles/kubernetes-apps/ansible/tasks/kubedns.yml
+2
-0
2 additions, 0 deletions
roles/kubernetes-apps/ansible/tasks/kubedns.yml
roles/kubernetes-apps/ansible/tasks/main.yml
+5
-0
5 additions, 0 deletions
roles/kubernetes-apps/ansible/tasks/main.yml
with
7 additions
and
0 deletions
roles/kubernetes-apps/ansible/tasks/kubedns.yml
+
2
−
0
View file @
d2855654
...
@@ -19,6 +19,7 @@
...
@@ -19,6 +19,7 @@
-
rbac_enabled or item.type not in rbac_resources
-
rbac_enabled or item.type not in rbac_resources
tags
:
tags
:
-
dnsmasq
-
dnsmasq
-
kubedns
# see https://github.com/kubernetes/kubernetes/issues/45084, only needed for "old" kube-dns
# see https://github.com/kubernetes/kubernetes/issues/45084, only needed for "old" kube-dns
-
name
:
Kubernetes Apps | Patch system:kube-dns ClusterRole
-
name
:
Kubernetes Apps | Patch system:kube-dns ClusterRole
...
@@ -39,3 +40,4 @@
...
@@ -39,3 +40,4 @@
-
rbac_enabled and kubedns_version|version_compare("1.11.0", "<", strict=True)
-
rbac_enabled and kubedns_version|version_compare("1.11.0", "<", strict=True)
tags
:
tags
:
-
dnsmasq
-
dnsmasq
-
kubedns
This diff is collapsed.
Click to expand it.
roles/kubernetes-apps/ansible/tasks/main.yml
+
5
−
0
View file @
d2855654
...
@@ -17,6 +17,9 @@
...
@@ -17,6 +17,9 @@
-
inventory_hostname == groups['kube-master'][0]
-
inventory_hostname == groups['kube-master'][0]
tags
:
tags
:
-
upgrade
-
upgrade
-
dnsmasq
-
coredns
-
kubedns
-
name
:
Kubernetes Apps | CoreDNS
-
name
:
Kubernetes Apps | CoreDNS
import_tasks
:
"
tasks/coredns.yml"
import_tasks
:
"
tasks/coredns.yml"
...
@@ -56,6 +59,8 @@
...
@@ -56,6 +59,8 @@
delay
:
5
delay
:
5
tags
:
tags
:
-
dnsmasq
-
dnsmasq
-
coredns
-
kubedns
-
name
:
Kubernetes Apps | Netchecker
-
name
:
Kubernetes Apps | Netchecker
import_tasks
:
tasks/netchecker.yml
import_tasks
:
tasks/netchecker.yml
...
...
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