-
Notifications
You must be signed in to change notification settings - Fork 403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace usage of apt_key
in ansible tasks
#1293
Comments
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close not-planned |
@k8s-triage-robot: Closing this issue, marking it as "Not Planned". In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/reopen |
@richardcase: Reopened this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Today we seem to be hitting an issue related to this whilst trying to build Ubuntu 22.04:
|
I just hit this issue, and it was because the GPG Repo Key for the version of Kubernetes I was trying to build had expired. Bumped up the version to 1.28 and building started again. |
Indeed - I was able to hack around it by hard coding the APT repo version in that ansible task to one that works and still building with the k8s version I actually need. Unfortunately we can't just take whatever version of k8s happens to have a valid APT key and the cluster-api image builder automation uses the k8s version to build the APT repo string. |
Is your feature request related to a problem? Please describe.
Image builder is using the Ansible
apt_key
module, but it is deprecated as specified in the module notes. It may stop working with Ubuntu 24.04.Describe the solution you'd like
A more future-proof way is using the
get_url
module as described in this blog post, for example.I tried that approach in #1280 but could not get it to work on Ubuntu 20.04, only 22.04, so I stuck with the working
apt_key
approach for now.Describe alternatives you've considered
Additional context
/kind feature
The text was updated successfully, but these errors were encountered: