{
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
  "commitMessageTopic": "{{depName}}",
  "commitMessageExtra": "{{currentVersion}} → {{newVersion}}",
  "semanticCommitType": "chore",
  "semanticCommitScope": "deps",
  "packageRules": [
    {
      "matchManagers": ["helm-values"],
      "updateTypes": ["major", "minor", "patch"],
      "commitMessageTopic": "image {{depName}}",
      "commitMessageExtra": "{{currentVersion}} → {{newVersion}}",
      "semanticCommitType": "chore",
      "semanticCommitScope": "helm"
    },
    {
      "matchManagers": ["helm-values"],
      "updateTypes": ["digest", "pin"],
      "commitMessageTopic": "image {{depName}}",
      "commitMessageExtra": "digest to {{newDigestShort}}",
      "semanticCommitType": "chore",
      "semanticCommitScope": "helm"
    },
    {
      "matchManagers": ["docker"],
      "updateTypes": ["major", "minor", "patch"],
      "commitMessageTopic": "image {{depName}}",
      "commitMessageExtra": "{{currentVersion}} → {{newVersion}}",
      "semanticCommitType": "chore",
      "semanticCommitScope": "container"
    },
    {
      "matchManagers": ["docker"],
      "updateTypes": ["digest", "pin", "pinDigest"],
      "commitMessageTopic": "image {{depName}}",
      "commitMessageExtra": "digest to {{newDigestShort}}",
      "semanticCommitType": "chore",
      "semanticCommitScope": "container"
    },
    {
      "matchManagers": ["flux"],
      "matchPackagePatterns": ["!(.*/.*)"],
      "commitMessageTopic": "chart {{depName}}",
      "commitMessageExtra": "{{currentVersion}} → {{newVersion}}",
      "semanticCommitType": "chore",
      "semanticCommitScope": "flux"
    },
    {
      "matchManagers": ["flux"],
      "updateTypes": ["major", "minor", "patch"],
      "matchPackagePatterns": [".*/.*"],
      "commitMessageTopic": "image {{depName}}",
      "commitMessageExtra": "{{currentVersion}} → {{newVersion}}",
      "semanticCommitType": "chore",
      "semanticCommitScope": "flux"
    },
    {
      "matchManagers": ["flux"],
      "updateTypes": ["digest", "pin"],
      "matchPackagePatterns": [".*/.*"],
      "commitMessageTopic": "image {{depName}}",
      "commitMessageExtra": "digest to {{newDigestShort}}",
      "semanticCommitType": "chore",
      "semanticCommitScope": "flux"
    },
    {
      "matchManagers": ["helmv3"],
      "commitMessageTopic": "chart {{depName}}",
      "commitMessageExtra": "{{currentVersion}} → {{newVersion}}",
      "semanticCommitType": "chore",
      "semanticCommitScope": "helm"
    },
    {
      "matchPaths": ["clustertool/**"],
      "commitMessageSuffix": "(clustertool)"
    }
  ]
}
