container: add switch for hcloud

This commit is contained in:
uumas
2023-12-21 01:30:00 +02:00
parent 681b788ac4
commit 5bf47c73a7
3 changed files with 11 additions and 5 deletions

View File

@@ -19,10 +19,15 @@ argument_specs:
type: str
required: false
default: 3650d
prometheus_hcloud_token:
description: Access token for hetzner cloud service discovery. It will be enabled if this variable is defined
type: str
prometheus_hcloud_enabled:
description: Whether to use hcloud discovery
type: bool
required: false
default: false
prometheus_hcloud_token:
description: Access token for hetzner cloud service discovery.
type: str
required: "{{ prometheus_hcloud_enabled }}"
prometheus_hcloud_relabel_configs:
description: Relabel configs for hcloud
type: list