Skip to content
Discussion options

You must be logged in to vote

Stumbled onto this thread today, the suggested answer may be outdated.

Using renovate.configIsJavascript: true makes ot possible to inject use env variables in your config variable without having resort to custom configmaps and volumes.

  existingSecret: "renovate-tokens"
  renovate:
    configIsJavaScript: true
    config: |
        module.exports = {
            "platform": "azure",
            "endpoint": "<redacted>",
            "token": process.env.RENOVATE_TOKEN,
            "hostRules": [
                {
                    "hostType": "nuget",
                    "matchHost": "<redacted>",
                    "username": "",
                    "password": process.env.RENOVATE_…

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@viceice
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by viceice
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants
Converted from issue

This discussion was converted from issue #198 on June 23, 2022 10:14.