mirror of
https://github.com/optim-enterprises-bv/terraform-talos.git
synced 2025-11-03 11:47:45 +00:00
Update version
This commit is contained in:
@@ -135,6 +135,8 @@ metadata:
|
|||||||
component: azure-cloud-controller-manager
|
component: azure-cloud-controller-manager
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
tier: control-plane
|
tier: control-plane
|
||||||
@@ -168,7 +170,7 @@ spec:
|
|||||||
operator: Exists
|
operator: Exists
|
||||||
containers:
|
containers:
|
||||||
- name: azure-cloud-controller-manager
|
- 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
|
imagePullPolicy: IfNotPresent
|
||||||
command: ["cloud-controller-manager"]
|
command: ["cloud-controller-manager"]
|
||||||
args:
|
args:
|
||||||
@@ -178,9 +180,10 @@ spec:
|
|||||||
- --cloud-provider=azure
|
- --cloud-provider=azure
|
||||||
- --allocate-node-cidrs=false
|
- --allocate-node-cidrs=false
|
||||||
- --controllers=cloud-node-lifecycle # disable cloud-node controller
|
- --controllers=cloud-node-lifecycle # disable cloud-node controller
|
||||||
|
- --configure-cloud-routes=false
|
||||||
- --leader-elect-resource-name=cloud-controller-manager-azure
|
- --leader-elect-resource-name=cloud-controller-manager-azure
|
||||||
- --use-service-account-credentials
|
- --use-service-account-credentials
|
||||||
- --bind-address=127.0.0.1
|
# - --bind-address=127.0.0.1
|
||||||
- --secure-port=10267
|
- --secure-port=10267
|
||||||
env:
|
env:
|
||||||
- name: CLUSTER_NAME
|
- name: CLUSTER_NAME
|
||||||
@@ -196,6 +199,7 @@ spec:
|
|||||||
httpGet:
|
httpGet:
|
||||||
path: /healthz
|
path: /healthz
|
||||||
port: 10267
|
port: 10267
|
||||||
|
scheme: HTTPS
|
||||||
initialDelaySeconds: 20
|
initialDelaySeconds: 20
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
timeoutSeconds: 5
|
timeoutSeconds: 5
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ spec:
|
|||||||
effect: NoSchedule
|
effect: NoSchedule
|
||||||
containers:
|
containers:
|
||||||
- name: cloud-node-manager
|
- 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
|
imagePullPolicy: IfNotPresent
|
||||||
command:
|
command:
|
||||||
- cloud-node-manager
|
- cloud-node-manager
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ resource "azurerm_private_dns_aaaa_record" "controlplane" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
resource "azurerm_private_dns_a_record" "controlplane_zonal" {
|
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}"
|
name = "controlplane-${each.key}"
|
||||||
resource_group_name = local.resource_group
|
resource_group_name = local.resource_group
|
||||||
zone_name = local.network[each.key].dns
|
zone_name = local.network[each.key].dns
|
||||||
|
|||||||
Reference in New Issue
Block a user