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
957b7115
Commit
957b7115
authored
7 years ago
by
mkrasilnikov
Browse files
Options
Downloads
Patches
Plain Diff
Remove node name from kube-proxy and admin certificates
parent
b930b0ef
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
roles/kubernetes/secrets/tasks/gen_certs_vault.yml
+2
-2
2 additions, 2 deletions
roles/kubernetes/secrets/tasks/gen_certs_vault.yml
roles/vault/tasks/bootstrap/main.yml
+1
-1
1 addition, 1 deletion
roles/vault/tasks/bootstrap/main.yml
with
3 additions
and
3 deletions
roles/kubernetes/secrets/tasks/gen_certs_vault.yml
+
2
−
2
View file @
957b7115
...
...
@@ -8,7 +8,7 @@
# Issue admin certs to kube-master hosts
-
include
:
../../../vault/tasks/shared/issue_cert.yml
vars
:
issue_cert_common_name
:
"
admin
:{{
item.rsplit('/',
1)[1].rsplit('.',
1)[0]
}}
"
issue_cert_common_name
:
"
admin"
issue_cert_copy_ca
:
"
{{
item
==
kube_admin_certs_needed|first
}}"
issue_cert_file_group
:
"
{{
kube_cert_group
}}"
issue_cert_file_owner
:
kube
...
...
@@ -80,7 +80,7 @@
# Issue proxy certs to k8s-cluster nodes
-
include
:
../../../vault/tasks/shared/issue_cert.yml
vars
:
issue_cert_common_name
:
"
system:kube-proxy
:{{
item.rsplit('/',
1)[1].rsplit('.',
1)[0]
}}
"
issue_cert_common_name
:
"
system:kube-proxy"
issue_cert_copy_ca
:
"
{{
item
==
kube_proxy_certs_needed|first
}}"
issue_cert_file_group
:
"
{{
kube_cert_group
}}"
issue_cert_file_owner
:
kube
...
...
This diff is collapsed.
Click to expand it.
roles/vault/tasks/bootstrap/main.yml
+
1
−
1
View file @
957b7115
...
...
@@ -6,7 +6,7 @@
when
:
inventory_hostname in groups.vault
-
include
:
../shared/find_leader.yml
when
:
inventory_hostname in groups.vault and vault_cluster_is_initialized
|d()
when
:
inventory_hostname in groups.vault and vault_cluster_is_initialized
-
include
:
sync_vault_certs.yml
when
:
inventory_hostname in groups.vault
...
...
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