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/terraform): support OCI charts in helm_release #19869

Conversation

morremeyer
Copy link
Contributor

@morremeyer morremeyer commented Jan 16, 2023

Changes

This adds support for helm charts published in OCI-based registries within helm_release resources for the terraform manager.

Context

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

lib/modules/manager/terraform/util.ts Outdated Show resolved Hide resolved
lib/modules/manager/terraform/util.ts Outdated Show resolved Hide resolved
morremeyer and others added 2 commits January 17, 2023 12:35
…e.ts

Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
…e.ts

Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
OCI charts are also valid paths, therefore we need to check first
if it is an OCI chart.
@morremeyer morremeyer requested review from viceice and secustor and removed request for viceice and secustor January 17, 2023 15:14
@morremeyer
Copy link
Contributor Author

Sorry for the review re-request confusion, seems like I can only request one of you again. If I request both of you, it seems to remove all the requests.

lib/modules/manager/helmv3/utils.ts Outdated Show resolved Hide resolved
lib/modules/manager/terraform/util.ts Outdated Show resolved Hide resolved
morremeyer and others added 4 commits January 17, 2023 17:08
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
I went with the layout of the existing tests to not add further complication
to the PR review.
secustor
secustor previously approved these changes Jan 18, 2023
@viceice
Copy link
Member

viceice commented Jan 18, 2023

Sorry for the review re-request confusion, seems like I can only request one of you again. If I request both of you, it seems to remove all the requests.

You should be able to re-request review with these buttons
image

@secustor
Copy link
Collaborator

@viceice I had the same behaviour as @morremeyer, this seems to enabled for everyone without write permissions/maintainers.

…e.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
morremeyer and others added 6 commits January 19, 2023 14:38
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
…e.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
…e.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
@morremeyer
Copy link
Contributor Author

@viceice I resolved this open question in it, since I think your prior review already approved that idea.

@rarkins rarkins requested a review from secustor January 19, 2023 16:31
@viceice viceice merged commit c5db2dc into renovatebot:main Jan 19, 2023
@renovate-release
Copy link
Collaborator

🎉 This PR is included in version 34.106.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

jalaziz added a commit to jalaziz/renovate that referenced this pull request Feb 6, 2023
This is a follow-up to renovatebot#19869. OCI repos can be specified as part of the
chart or repository, so extend OCI registry detection to the repository
field too.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[manager: terraform] Support OCI based registries for helm_release
4 participants