Fix basic auth tokens for kubeadm deployment. (#3801)

* Fix basic auth tokens for kubeadm deployment.

* Tokens should be a dependancy on master, not nodes
This commit is contained in:
Andreas Krüger
2018-12-03 19:44:29 +01:00
committed by Kubernetes Prow Robot
parent 19792cfae7
commit 432f8e9841
7 changed files with 29 additions and 32 deletions

View File

@@ -0,0 +1,19 @@
---
- import_tasks: check-tokens.yml
tags:
- k8s-secrets
- k8s-gen-tokens
- facts
- name: Make sure the tokens directory exits
file:
path: "{{ kube_token_dir }}"
state: directory
mode: o-rwx
group: "{{ kube_cert_group }}"
- import_tasks: gen_tokens.yml
tags:
- k8s-secrets
- k8s-gen-tokens