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: support setting secrets for renovate #52

Merged
merged 3 commits into from
Aug 26, 2020

Conversation

gmariotti
Copy link
Contributor

Hi, I created this PR to make it possible to use k8s/Secret to pass sensitive data to Renovate. I'm no Helm expert, I probably missed something for sure 😅

@gmariotti
Copy link
Contributor Author

The tests expect that I bump the version of the chart but the version seems to be bounded to the version of renovate. What should I do?

@JamieMagee
Copy link
Contributor

@gmariotti Sorry I've missed this PR. I'll find some time today to review it.

We decided to pin the helm chart version to the renovate version to make auto updates easier. I think we should be able to add a build version, and still stay compliant with semver. Something like 19.239.11+1

release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
type: Opaque
data:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would simplify this to stringData and drop the b64enc

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will fix it, thanks 🙏

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't find any stringData function, could you point me to it?

@gmariotti
Copy link
Contributor Author

What about documentation? Is there anything I need to do?

@JamieMagee
Copy link
Contributor

Yeah, can you add an example to the README.md in the root of the repo, as well as the README.md.gotmpl and README.md in the charts/renovate directory.

And don't worry about merging, I'll figure it out 😅

Copy link
Member

@viceice viceice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gmariotti Can you please rebase the pr or merge master into it

@gmariotti
Copy link
Contributor Author

@viceice @JamieMagee rebased with master and addressed some of the comments, but I'm still having a problem with the version number (probably because of the commit prefix used), any suggestion?

charts/renovate/Chart.yaml Outdated Show resolved Hide resolved
charts/renovate/Chart.yaml Outdated Show resolved Hide resolved
@viceice viceice merged commit ff57646 into renovatebot:master Aug 26, 2020
@viceice
Copy link
Member

viceice commented Aug 26, 2020

Should be released with next renovate update

@viceice
Copy link
Member

viceice commented Aug 26, 2020

v23 on the way: renovatebot/docker-renovate-full#59

@viceice viceice mentioned this pull request Aug 27, 2020
@JamieMagee JamieMagee mentioned this pull request Aug 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants