Merge pull request #2772 from rlarocque2/apiserver_auth
Implement apiserver communication for Vagrant
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
{% set token_auth_file = "-token_auth_file=/dev/null" -%}
|
||||
|
||||
{% if grains.cloud is defined -%}
|
||||
{% if grains.cloud == 'gce' -%}
|
||||
{% if grains.cloud == 'gce' or grains.cloud == 'vagrant' -%}
|
||||
# TODO: generate and distribute tokens for other cloud providers.
|
||||
{% set token_auth_file = "-token_auth_file=/srv/kubernetes/known_tokens.csv" -%}
|
||||
{% endif -%}
|
||||
|
@@ -39,7 +39,7 @@
|
||||
{% endif %}
|
||||
|
||||
{% if grains.cloud is defined %}
|
||||
{% if grains.cloud == 'gce' %}
|
||||
{% if grains.cloud == 'gce' or grains.cloud == 'vagrant' %}
|
||||
# TODO: generate and distribute tokens on other cloud providers.
|
||||
/srv/kubernetes/known_tokens.csv:
|
||||
file.managed:
|
||||
|
Reference in New Issue
Block a user