From 49e06efdf83d70dc56754141752a7a916b14447e Mon Sep 17 00:00:00 2001 From: Gabriel Adrian Samfira Date: Mon, 11 Dec 2023 14:05:10 +0000 Subject: [PATCH] Update sample config Signed-off-by: Gabriel Adrian Samfira --- testdata/config.toml | 36 +++++++++++++++++++++++++++--------- 1 file changed, 27 insertions(+), 9 deletions(-) diff --git a/testdata/config.toml b/testdata/config.toml index 55e69694..34465cb7 100644 --- a/testdata/config.toml +++ b/testdata/config.toml @@ -112,15 +112,21 @@ time_to_live = "8760h" # provider must not be changed, or the pool will no longer work. Make sure you remove any # pools before removing or changing a provider. [[provider]] - # An arbitrary string describing this provider. - name = "lxd_local" - # Provider type. Garm is designed to allow creating providers which are used to spin - # up compute resources, which in turn will run the github runner software. - # Currently, LXD is the only supprted provider, but more will be written in the future. - provider_type = "lxd" - # A short description of this provider. The name, description and provider types will - # be included in the information returned by the API when listing available providers. - description = "Local LXD installation" +# An arbitrary string describing this provider. +name = "lxd_local" +# Provider type. Garm is designed to allow creating providers which are used to spin +# up compute resources, which in turn will run the github runner software. +# Currently, LXD is the only supprted provider, but more will be written in the future. +provider_type = "lxd" +# A short description of this provider. The name, description and provider types will +# be included in the information returned by the API when listing available providers. +description = "Local LXD installation" +# DisableJITConfig explicitly disables JIT configuration and forces runner registration +# tokens to be used. This may happen if a provider has not yet been updated to support +# JIT configuration. +# +# Set this to true if your provider does not support JIT configuration. +disable_jit_config = false [provider.lxd] # the path to the unix socket that LXD is listening on. This works if garm and LXD # are on the same system, and this option takes precedence over the "url" option, @@ -191,6 +197,12 @@ time_to_live = "8760h" name = "openstack_external" description = "external openstack provider" provider_type = "external" +# DisableJITConfig explicitly disables JIT configuration and forces runner registration +# tokens to be used. This may happen if a provider has not yet been updated to support +# JIT configuration. +# +# Set this to true if your provider does not support JIT configuration. +disable_jit_config = false [provider.external] # config file passed to the executable via GARM_PROVIDER_CONFIG_FILE environment variable config_file = "/etc/garm/providers.d/openstack/keystonerc" @@ -203,6 +215,12 @@ provider_type = "external" name = "azure_external" description = "external azure provider" provider_type = "external" +# DisableJITConfig explicitly disables JIT configuration and forces runner registration +# tokens to be used. This may happen if a provider has not yet been updated to support +# JIT configuration. +# +# Set this to true if your provider does not support JIT configuration. +disable_jit_config = false [provider.external] # config file passed to the executable via GARM_PROVIDER_CONFIG_FILE environment variable config_file = "/etc/garm/providers.d/azure/config.sh"