Skip to content

Commit 2b7b3e9

Browse files
committed
fixup! Adding artifaact cache entries to capz/container-registry for calico images to avoid throtteling during large cluster deployments
1 parent e8412ac commit 2b7b3e9

File tree

3 files changed

+5
-40
lines changed

3 files changed

+5
-40
lines changed

infra/azure/terraform/capz/container-registry/main.tf

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,7 @@ resource "azurerm_container_registry" "capzci_registry" {
2929
sku = "Premium"
3030
anonymous_pull_enabled = true
3131

32-
retention_policy {
33-
days = 7
34-
enabled = true
35-
}
32+
retention_policy_in_days = 7
3633

3734
tags = {
3835
RetentionPolicy = "7days"
@@ -122,10 +119,7 @@ resource "azurerm_container_registry" "e2eprivate_registry" {
122119
resource_group_name = var.resource_group_name
123120
sku = "Premium"
124121

125-
retention_policy {
126-
days = 7
127-
enabled = true
128-
}
122+
retention_policy_in_days = 7
129123

130124
tags = {
131125
RetentionPolicy = "7days"

infra/azure/terraform/capz/container-registry/versions.tf

Lines changed: 0 additions & 31 deletions
This file was deleted.

infra/azure/terraform/capz/main.tf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,9 @@ module "cluster_api_gallery" {
131131
source = "./cluster-api-gallery"
132132
resource_group_name = var.resource_group_name
133133
location = var.location
134-
depends_on = module.role_assignments
134+
depends_on = [
135+
module.role_assignments
136+
]
135137
}
136138

137139
# Import CAPZ monitoring module

0 commit comments

Comments
 (0)