Skip to content

WARN: Error updating branch: update failure - Regex Manager #32085

Closed Answered by 98jan
98jan asked this question in Request Help
Discussion options

You must be logged in to vote

just fixed it, needed to configure in the regex an "extractVersionTemplate" ...., looks now like this for the regex:

  "customManagers": [
    {
      "customType": "regex",
      "fileMatch": ["^.*namespace\\.yaml$"],
      "matchStrings": [
        "pod-security\\.kubernetes\\.io\/(enforce|audit|warn)-version:\\s?(?<currentValue>v\\d+\\.\\d+)"
      ],
      "depNameTemplate": "kubernetes/kubernetes",
      "datasourceTemplate": "github-releases",
      "extractVersionTemplate": "^(?<version>v\\d+\\.\\d+)"
    }
  ]

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by 98jan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto:reproduction A minimal reproduction is necessary to proceed
1 participant