UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
renovate.json 1.5 KiB
Newer Older
{
    "baseBranches": ["main"],
    "configWarningReuseIssue": false,
    "dependencyDashboard": true,
    "dependencyDashboardTitle": "Renovate: Upgrade Kyverno Policy Images",
    "draftPR": true,
    "enabledManagers": ["helmv3","helm-values","regex"],
    "ignorePaths": ["chart/charts/**"],
    "labels": ["kyverno","renovate"],
    "packageRules": [
        {
            "matchDatasources": ["docker"],
Cody Williams's avatar
Cody Williams committed
            "groupName": "Ironbank",
            "registryUrls": ["https://registry1.dso.mil"],
            "postUpgradeTasks": {
              "commands": [
                  "bump-chart-yaml",
                  "regenerate-helm-docs",
                  "bump-changelog '- {{{replace 'registry1.dso.mil/' '' depName}}} updated from {{{currentVersion}}} to {{{newVersion}}}'"
              ],
              "fileFilters": ["chart/Chart.yaml", "README.md", "CHANGELOG.md"]
            }
          }
    ],
    "regexManagers": [
        {
            "fileMatch": ["^chart/tests/manifests/.*\\.yaml$"],
            "matchStrings": [
                "image:\\s+(?<depName>.+):(?<currentValue>.+)",
                "kyverno-policies-bbtest/value:\\s+(?<depName>.+):(?<currentValue>.+)"
            ],
            "datasourceTemplate": "docker"
        },
        {
            "fileMatch": ["^chart/Chart\\.yaml$"],
            "matchStrings": [
                "image:[^\\S\\r\\n]+(?<depName>.+):(?<currentValue>.+)"
            ],
            "datasourceTemplate": "docker"
        }
    ],
    "separateMajorMinor": false