2022-01-21 04:31:09 +08:00
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Secret
|
|
|
|
metadata:
|
|
|
|
name: "{{ external_hcloud_cloud.token_secret_name }}"
|
|
|
|
namespace: kube-system
|
|
|
|
data:
|
2022-04-12 01:26:06 +08:00
|
|
|
token: "{{ external_hcloud_cloud.hcloud_api_token | b64encode }}"
|
|
|
|
{% if external_hcloud_cloud.with_networks %}
|
|
|
|
network: "{{ network_id|b64encode }}"
|
|
|
|
{% endif %}
|