Update version

This commit is contained in:
Serge Logvinov
2022-08-19 13:41:29 +03:00
parent 20857dea38
commit f80a88493c
3 changed files with 8 additions and 4 deletions

View File

@@ -135,6 +135,8 @@ metadata:
component: azure-cloud-controller-manager
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
tier: control-plane
@@ -168,7 +170,7 @@ spec:
operator: Exists
containers:
- name: azure-cloud-controller-manager
image: mcr.microsoft.com/oss/kubernetes/azure-cloud-controller-manager:v1.24.0
image: mcr.microsoft.com/oss/kubernetes/azure-cloud-controller-manager:v1.24.4
imagePullPolicy: IfNotPresent
command: ["cloud-controller-manager"]
args:
@@ -178,9 +180,10 @@ spec:
- --cloud-provider=azure
- --allocate-node-cidrs=false
- --controllers=cloud-node-lifecycle # disable cloud-node controller
- --configure-cloud-routes=false
- --leader-elect-resource-name=cloud-controller-manager-azure
- --use-service-account-credentials
- --bind-address=127.0.0.1
# - --bind-address=127.0.0.1
- --secure-port=10267
env:
- name: CLUSTER_NAME
@@ -196,6 +199,7 @@ spec:
httpGet:
path: /healthz
port: 10267
scheme: HTTPS
initialDelaySeconds: 20
periodSeconds: 10
timeoutSeconds: 5

View File

@@ -84,7 +84,7 @@ spec:
effect: NoSchedule
containers:
- name: cloud-node-manager
image: mcr.microsoft.com/oss/kubernetes/azure-cloud-node-manager:v1.24.0
image: mcr.microsoft.com/oss/kubernetes/azure-cloud-node-manager:v1.24.4
imagePullPolicy: IfNotPresent
command:
- cloud-node-manager

View File

@@ -72,7 +72,7 @@ resource "azurerm_private_dns_aaaa_record" "controlplane" {
}
resource "azurerm_private_dns_a_record" "controlplane_zonal" {
for_each = { for idx, name in local.regions : name => idx if lookup(try(var.controlplane[name], {}), "count", 0) > 1 }
for_each = { for idx, name in local.regions : name => idx if lookup(try(var.controlplane[name], {}), "count", 0) > 1 && local.network[name].dns != "" }
name = "controlplane-${each.key}"
resource_group_name = local.resource_group
zone_name = local.network[each.key].dns