add nginx reverse proxy to serialize registyr requests for the same path to avoid race conditions [ci skip]

This commit is contained in:
Viktor Barzin 2025-12-29 20:16:13 +00:00
parent c03f57d807
commit 3b7d295119
4 changed files with 79 additions and 2 deletions

View file

@ -26,6 +26,7 @@ packages:
- gpg
- isc-dhcp-client
- cloud-guest-utils # to enable resizing of disk via growpart
- nginx
# docker
- docker-ce
- docker-ce-cli

View file

@ -81,7 +81,13 @@ resource "null_resource" "upload_cloud_init" {
)
}
# Force recreate when the below changes
triggers = {
file_hash = filesha256("${path.module}/cloud_init.yaml")
file_hash = filesha256("${path.module}/cloud_init.yaml")
provision_cmds = join(", ", var.provision_cmds)
is_k8s_template = var.is_k8s_template,
passwd = var.user_passwd,
k8s_join_command = var.k8s_join_command,
containerd_config_update_command = var.containerd_config_update_command
}
}