From ad0c51165148f66dbf729d40d8ecee3c812ac3da Mon Sep 17 00:00:00 2001 From: Danny Bessems Date: Wed, 15 Mar 2023 15:02:00 +0100 Subject: [PATCH] Fix var reference --- .../bootstrap/templates/kustomization.cluster-template.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/roles/firstboot/files/ansible_payload/bootstrap/templates/kustomization.cluster-template.j2 b/ansible/roles/firstboot/files/ansible_payload/bootstrap/templates/kustomization.cluster-template.j2 index 5288956..064e3d8 100644 --- a/ansible/roles/firstboot/files/ansible_payload/bootstrap/templates/kustomization.cluster-template.j2 +++ b/ansible/roles/firstboot/files/ansible_payload/bootstrap/templates/kustomization.cluster-template.j2 @@ -13,7 +13,7 @@ patchesStrategicMerge: spec: kubeadmConfigSpec: clusterConfiguration: - imageRepository: registry.{{ _template.fqdn }}/kubeadm + imageRepository: registry.{{ _template.network.fqdn }}/kubeadm - |- apiVersion: bootstrap.cluster.x-k8s.io/v1beta1 kind: KubeadmConfigTemplate @@ -24,7 +24,7 @@ patchesStrategicMerge: template: spec: clusterConfiguration: - imageRepository: registry.{{ _template.fqdn }}/kubeadm + imageRepository: registry.{{ _template.network.fqdn }}/kubeadm - |- apiVersion: bootstrap.cluster.x-k8s.io/v1beta1 kind: KubeadmConfigTemplate