9dced7133c
* - add ability to specify the network_zone in hetzner terraform - Export the network id from hetzner terraform the the generated inventory.ini * - Add with_networks variable to allow different deployments of hcloud controller manager - Add network id to hcloud controller secret (added via the inventory) - Don't include extra_args if it's not set
11 lines
295 B
Django/Jinja
11 lines
295 B
Django/Jinja
---
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: "{{ external_hcloud_cloud.token_secret_name }}"
|
|
namespace: kube-system
|
|
data:
|
|
token: "{{ external_hcloud_cloud.hcloud_api_token | b64encode }}"
|
|
{% if external_hcloud_cloud.with_networks %}
|
|
network: "{{ network_id|b64encode }}"
|
|
{% endif %}
|