Add aws to list of clouds that use tokens

This commit is contained in:
Justin Santa Barbara 2015-01-29 16:28:23 -05:00
parent 51225c76da
commit 5d864b006a

View File

@ -44,7 +44,7 @@
{% set token_auth_file = "--token_auth_file=/dev/null" -%}
{% if grains.cloud is defined -%}
{% if grains.cloud == 'gce' or grains.cloud == 'vagrant' -%}
{% if grains.cloud in [ 'aws', 'gce', 'vagrant' ] -%}
# TODO: generate and distribute tokens for other cloud providers.
{% set token_auth_file = "--token_auth_file=/srv/kubernetes/known_tokens.csv" -%}
{% endif -%}