Skip to content

Commit c5d8f07

Browse files
authored
chore: Actually login to docker registry (#92)
Actually login to docker registry
1 parent f818568 commit c5d8f07

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ephemeral/main.tf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ module "talos" {
1919
name = "cp-0"
2020
server_ip = digitalocean_droplet.cp[0].ipv4_address
2121
config_patches = [
22-
file("${path.root}/patches/registry.yml"),
22+
templatefile("${path.root}/patches/registry.yml", {
23+
docker_username = data.vault_generic_secret.docker.data.username,
24+
docker_password = data.vault_generic_secret.docker.data.password
25+
})
2326
]
2427
},
2528
]

0 commit comments

Comments
 (0)