`kubernetes_deb_version` is used in `ami_name` irrespective of k8s source
kkeshavamurthy opened this issue · 0 comments
What steps did you take and what happened:
packer.json & packer-windows.json use kubernetes_deb_version
in the ami_name
irrespective of the source of k8s binaries.
If we are building the AMI from HTTP or rpm sources, ami-name
contains wrong info unless kubernetes_deb_version
matches the other source.
[A clear and concise description on how to REPRODUCE the bug.]
What did you expect to happen:
replace with kubernetes_semver
instead of kubernetes_deb_version
.
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Environment:
Project (Image Builder for Cluster API, kube-deploy/imagebuilder, konfigadm):
Additional info for Image Builder for Cluster API related issues:
- OS (e.g. from
/etc/os-release
, orcmd /c ver
): - Packer Version:
- Packer Provider:
- Ansible Version:
- Cluster-api version (if using):
- Kubernetes version: (use
kubectl version
):
/kind bug
[One or more /area label. See https://github.com/kubernetes-sigs/cluster-api/labels?q=area for the list of labels]