Skip to content

Commit

Permalink
fix: add hcloud_gateway to agent.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
KoLiBer committed Feb 28, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent f9f1230 commit d18310b
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion addons/agent.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

export gateway="${hcloud_gateway}"
export gateway="${gateway}"
${file("${path}/setup.sh")}

export INSTALL_${upper(type)}_NAME=agent
1 change: 1 addition & 0 deletions cluster.tf
Original file line number Diff line number Diff line change
@@ -52,6 +52,7 @@ module "cluster" {
type = var.type
channel = var.channel
version_ = var.version_
gateway = var.hcloud_gateway
registries = var.registries
configs = merge(var.configs, local.agent_configs, local.pool_configs)
pool = try(var.pools[keys(var.pools)[0]], {

0 comments on commit d18310b

Please sign in to comment.