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
4d783fff
Commit
4d783fff
authored
6 years ago
by
Jonathan Craig
Browse files
Options
Downloads
Patches
Plain Diff
resolve issues with new cacert feature
parent
58ee5f1c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
roles/kubernetes/node/tasks/main.yml
+14
-0
14 additions, 0 deletions
roles/kubernetes/node/tasks/main.yml
roles/kubernetes/preinstall/tasks/main.yml
+0
-14
0 additions, 14 deletions
roles/kubernetes/preinstall/tasks/main.yml
with
14 additions
and
14 deletions
roles/kubernetes/node/tasks/main.yml
+
14
−
0
View file @
4d783fff
...
...
@@ -157,6 +157,20 @@
-
cloud-provider
-
facts
-
name
:
Write cacert file
copy
:
src
:
"
{{
openstack_cacert
}}"
dest
:
"
{{
kube_config_dir
}}/openstack-cacert.pem"
group
:
"
{{
kube_cert_group
}}"
mode
:
0640
when
:
-
inventory_hostname in groups['k8s-cluster']
-
cloud_provider is defined
-
cloud_provider in [ 'openstack', 'azure', 'vsphere' ]
-
openstack_cacert is defined
tags
:
-
cloud-provider
-
name
:
Write cloud-config
template
:
src
:
"
{{
cloud_provider
}}-cloud-config.j2"
...
...
This diff is collapsed.
Click to expand it.
roles/kubernetes/preinstall/tasks/main.yml
+
0
−
14
View file @
4d783fff
...
...
@@ -311,17 +311,3 @@
-
ansible_distribution in ["CentOS","RedHat"]
tags
:
-
bootstrap-os
-
name
:
Write cacert file
copy
:
content
:
"
{{
openstack_cacert
}}"
dest
:
"
{{
kube_config_dir
}}/openstack-cacert.pem"
group
:
"
{{
kube_cert_group
}}"
mode
:
0640
when
:
-
inventory_hostname in groups['k8s-cluster']
-
cloud_provider is defined
-
cloud_provider in [ 'openstack', 'azure', 'vsphere' ]
-
openstack_cacert is defined
tags
:
-
cloud-provider
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