Karpenter amiSelectors based on image alias (calver) #36394
pmcenery-bl
started this conversation in
Suggest an Idea
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
TL;DR
I'm trying to use Renovate to automate updates for AMI selectors in Karpenter that use alias-based calendar versioning [1], e.g.:
I've tried the
amazon-machine-imagedata source but this seems to only be able to handle looking up and returning the ami ID (ami-XXXXXXX) rather than theName.I want to use image alias rather than image id as I have a single
linuxEC2NodeClasswhich covers bothamd64andarm64. If I switched to ami id, I'd need separateEC2NodeClassfor each of theseAccording to the
NodeClassdocumentation[2], the way to find the alias is by AWS SSM parameter lookup rather than EC2 describe-images. e.g.I'm happy to contribute something, but I'd like some guidance on the preferred way to deal with this. Where should I start? I suspect an "amazon-ssm-parameter" data source might be suitable for this?
References
Beta Was this translation helpful? Give feedback.
All reactions