From 75e2250a50a775f5aa0ef97b35f8923d9f24024a Mon Sep 17 00:00:00 2001 From: Danny Bessems Date: Thu, 2 Mar 2023 10:23:38 +0100 Subject: [PATCH] Test custom-built nodetemplate --- ansible/vars/metacluster.yml | 5 +++-- packer/build.pkr.hcl | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ansible/vars/metacluster.yml b/ansible/vars/metacluster.yml index c2fab2f..f488352 100644 --- a/ansible/vars/metacluster.yml +++ b/ansible/vars/metacluster.yml @@ -94,11 +94,12 @@ components: version: calico: v3.25.0 # k8s: v1.25.5 - k8s: v1.23.5 + k8s: v1.23.15 node_template: # Refer to `https://github.com/kubernetes-sigs/cluster-api-provider-vsphere/blob/main/README.md#kubernetes-versions-with-published-ovas` for a list of supported node templates # url: https://storage.googleapis.com/capv-templates/v1.25.5/ubuntu-2004-kube-v1.25.5.ova - url: https://storage.googleapis.com/capv-images/release/v1.23.5/ubuntu-2004-kube-v1.23.5.ova + # url: https://storage.googleapis.com/capv-images/release/v1.23.5/ubuntu-2004-kube-v1.23.5.ova + url: https://{{ repo_username }}:{{ repo_password }}@sn.itch.fyi/Repository/rel/ubuntu-2204-kube-v1.23.15.ova dex: helm: diff --git a/packer/build.pkr.hcl b/packer/build.pkr.hcl index eabf66a..75e0532 100644 --- a/packer/build.pkr.hcl +++ b/packer/build.pkr.hcl @@ -36,9 +36,9 @@ build { use_proxy = "false" extra_arguments = [ "--extra-vars", "appliancetype=${source.name}", - "--extra-vars", "ansible_ssh_pass=${var.ssh_password}"//, - // "--extra-vars", "repo_username=${var.repo_username}", - // "--extra-vars", "repo_password=${var.repo_password}" + "--extra-vars", "ansible_ssh_pass=${var.ssh_password}", + "--extra-vars", "repo_username=${var.repo_username}", + "--extra-vars", "repo_password=${var.repo_password}" ] }