Skip to content
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

feat(manager/kubernetes): only extract valid images #31618

Merged
merged 1 commit into from
Sep 28, 2024

Conversation

aslafy-z
Copy link
Contributor

@aslafy-z aslafy-z commented Sep 25, 2024

Changes

The Kubernetes manager now only extract valid images.
It uses the Docker implementation of the OCI spec: https://github.com/distribution/reference/blob/v0.6.0/regexp.go.
Extracted & converted with https://go.dev/play/p/ZwF3vvRD9Rs.

Context

I had some gotemplates in my yaml files and did not want the kubernetes manager to extract images with these templates.

Documentation (please check one with an [x])

  • I have updated the documentation, or
  • No documentation update is required

How I've tested my work (please select one)

I have verified these changes via:

  • Code inspection only, or
  • Newly added/modified unit tests, or
  • No unit tests but ran on a real repository, or
  • Both unit tests + ran on a real repository

@aslafy-z aslafy-z changed the title manager(kubernetes): exclude image fields with gotemplate fix(manager/kubernetes): exclude templated image fields Sep 25, 2024
@aslafy-z aslafy-z changed the title fix(manager/kubernetes): exclude templated image fields fix(manager/kubernetes): only extract valid images Sep 25, 2024
@aslafy-z aslafy-z changed the title fix(manager/kubernetes): only extract valid images feat(manager/kubernetes): only extract valid images Sep 25, 2024
@aslafy-z aslafy-z marked this pull request as ready for review September 25, 2024 20:38
auto-merge was automatically disabled September 27, 2024 15:34

Head branch was pushed to by a user without write access

@aslafy-z
Copy link
Contributor Author

@viceice I addressed the requested change. Can you please review again? Thank you

@rarkins rarkins added the auto:no-done-comments Don't say "Done" or "Please review" - request a review instead label Sep 27, 2024
Copy link
Contributor

Hi there,

You are using done comments which cause a lot of noise/notifications. Instead, please use GitHub's web interface to request another review. Please read our contributing guidelines to reduce noise.

Good luck,

The Renovate team

@rarkins rarkins enabled auto-merge September 28, 2024 13:27
@rarkins rarkins added this pull request to the merge queue Sep 28, 2024
Merged via the queue into renovatebot:main with commit fc560b4 Sep 28, 2024
39 checks passed
@renovate-release
Copy link
Collaborator

🎉 This PR is included in version 38.101.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@aslafy-z aslafy-z deleted the patch-2 branch September 28, 2024 14:11
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto:no-done-comments Don't say "Done" or "Please review" - request a review instead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants