mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Add aws to list of clouds that use tokens
This commit is contained in:
parent
51225c76da
commit
5d864b006a
@ -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 -%}
|
||||
|
Loading…
Reference in New Issue
Block a user