cluster.meta

Issues/PRs archive for MTRNord/cluster
git clone git://archive.git.mtrnord.blog/MTRNord/cluster.meta.git
Log | Files | Refs

27.diff (7245B)


      1 diff --git a/.github/renovate.json b/.github/renovate.json
      2 index 065bab27..96506e6f 100644
      3 --- a/.github/renovate.json
      4 +++ b/.github/renovate.json
      5 @@ -1,40 +1,49 @@
      6  {
      7      "$schema": "https://docs.renovatebot.com/renovate-schema.json",
      8      "extends": [
      9 -        "config:base",
     10 +        "config:recommended",
     11          ":dependencyDashboard",
     12          ":semanticCommits",
     13          ":separateMultipleMinorReleases"
     14      ],
     15      "prConcurrentLimit": 4,
     16      "prHourlyLimit": 5,
     17 -    "suppressNotifications": ["prIgnoreNotification"],
     18 +    "suppressNotifications": [
     19 +        "prIgnoreNotification"
     20 +    ],
     21      "rebaseWhen": "conflicted",
     22 -    "enabledManagers": ["github-actions", "helm-values", "helmv3", "flux"],
     23 +    "enabledManagers": [
     24 +        "github-actions",
     25 +        "helm-values",
     26 +        "helmv3",
     27 +        "flux"
     28 +    ],
     29      "flux": {
     30 -        "fileMatch": [
     31 -            "(^|/)clusters/.+\\.ya?ml$",
     32 -            "(^|/)infrastructure_talos/.+\\.ya?ml$",
     33 -            "(^|/)apps/.+\\.ya?ml$"
     34 +        "managerFilePatterns": [
     35 +            "/(^|/)clusters/.+\\.ya?ml$/",
     36 +            "/(^|/)infrastructure_talos/.+\\.ya?ml$/",
     37 +            "/(^|/)apps/.+\\.ya?ml$/"
     38          ]
     39      },
     40      "helm-values": {
     41 -        "fileMatch": [
     42 -            "(^|/)apps/.+/values\\.ya?ml$",
     43 -            "(^|/)infrastructure_talos/.+/values\\.ya?ml$"
     44 +        "managerFilePatterns": [
     45 +            "/(^|/)apps/.+/values\\.ya?ml$/",
     46 +            "/(^|/)infrastructure_talos/.+/values\\.ya?ml$/"
     47          ]
     48      },
     49      "kubernetes": {
     50 -        "fileMatch": [
     51 -            "(^|/)clusters/.+\\.ya?ml$",
     52 -            "(^|/)infrastructure_talos/.+\\.ya?ml$",
     53 -            "(^|/)apps/.+\\.ya?ml$"
     54 +        "managerFilePatterns": [
     55 +            "/(^|/)clusters/.+\\.ya?ml$/",
     56 +            "/(^|/)infrastructure_talos/.+\\.ya?ml$/",
     57 +            "/(^|/)apps/.+\\.ya?ml$/"
     58          ]
     59      },
     60      "packageRules": [
     61          {
     62              "description": "Auto-merge patch updates",
     63 -            "matchUpdateTypes": ["patch"],
     64 +            "matchUpdateTypes": [
     65 +                "patch"
     66 +            ],
     67              "matchCurrentVersion": "!/^0/",
     68              "automerge": true,
     69              "automergeType": "pr",
     70 @@ -42,82 +51,122 @@
     71          },
     72          {
     73              "description": "Auto-merge minor updates for non-breaking changes",
     74 -            "matchUpdateTypes": ["minor"],
     75 +            "matchUpdateTypes": [
     76 +                "minor"
     77 +            ],
     78              "matchCurrentVersion": "!/^0/",
     79              "automerge": false,
     80              "groupName": "minor-updates"
     81          },
     82          {
     83              "description": "Group Flux component updates",
     84 -            "matchDatasources": ["docker", "github-releases"],
     85 -            "matchPackagePatterns": ["^fluxcd/"],
     86 +            "matchDatasources": [
     87 +                "docker",
     88 +                "github-releases"
     89 +            ],
     90              "groupName": "flux-components",
     91 -            "automerge": false
     92 +            "automerge": false,
     93 +            "matchPackageNames": [
     94 +                "/^fluxcd//"
     95 +            ]
     96          },
     97          {
     98              "description": "Group cert-manager updates",
     99 -            "matchDatasources": ["docker", "helm"],
    100 -            "matchPackagePatterns": ["cert-manager"],
    101 +            "matchDatasources": [
    102 +                "docker",
    103 +                "helm"
    104 +            ],
    105              "groupName": "cert-manager",
    106 -            "automerge": false
    107 +            "automerge": false,
    108 +            "matchPackageNames": [
    109 +                "/cert-manager/"
    110 +            ]
    111          },
    112          {
    113              "description": "Group monitoring stack updates",
    114 -            "matchDatasources": ["docker", "helm"],
    115 -            "matchPackagePatterns": [
    116 -                "prometheus",
    117 -                "grafana",
    118 -                "alertmanager",
    119 -                "kube-state-metrics",
    120 -                "node-exporter"
    121 +            "matchDatasources": [
    122 +                "docker",
    123 +                "helm"
    124              ],
    125              "groupName": "monitoring-stack",
    126 -            "automerge": false
    127 +            "automerge": false,
    128 +            "matchPackageNames": [
    129 +                "/prometheus/",
    130 +                "/grafana/",
    131 +                "/alertmanager/",
    132 +                "/kube-state-metrics/",
    133 +                "/node-exporter/"
    134 +            ]
    135          },
    136          {
    137              "description": "Group security updates and auto-merge",
    138 -            "matchDatasources": ["docker"],
    139 -            "matchUpdateTypes": ["patch"],
    140 +            "matchDatasources": [
    141 +                "docker"
    142 +            ],
    143 +            "matchUpdateTypes": [
    144 +                "patch"
    145 +            ],
    146              "vulnerabilityAlerts": {
    147                  "enabled": true
    148              },
    149              "groupName": "security-updates",
    150              "automerge": true,
    151 -            "schedule": ["at any time"]
    152 +            "schedule": [
    153 +                "at any time"
    154 +            ]
    155          },
    156          {
    157              "description": "Pin GitHub Actions digests",
    158 -            "matchManagers": ["github-actions"],
    159 +            "matchManagers": [
    160 +                "github-actions"
    161 +            ],
    162              "pinDigests": true
    163          },
    164          {
    165              "description": "Group GitHub Actions updates",
    166 -            "matchManagers": ["github-actions"],
    167 +            "matchManagers": [
    168 +                "github-actions"
    169 +            ],
    170              "groupName": "github-actions",
    171              "automerge": true,
    172              "automergeType": "pr"
    173          },
    174          {
    175              "description": "Separate major updates",
    176 -            "matchUpdateTypes": ["major"],
    177 +            "matchUpdateTypes": [
    178 +                "major"
    179 +            ],
    180              "automerge": false,
    181 -            "labels": ["type/major-update"]
    182 +            "labels": [
    183 +                "type/major-update"
    184 +            ]
    185          },
    186          {
    187              "description": "Label minor updates",
    188 -            "matchUpdateTypes": ["minor"],
    189 -            "labels": ["type/minor-update"]
    190 +            "matchUpdateTypes": [
    191 +                "minor"
    192 +            ],
    193 +            "labels": [
    194 +                "type/minor-update"
    195 +            ]
    196          },
    197          {
    198              "description": "Label patch updates",
    199 -            "matchUpdateTypes": ["patch"],
    200 -            "labels": ["type/patch-update"]
    201 +            "matchUpdateTypes": [
    202 +                "patch"
    203 +            ],
    204 +            "labels": [
    205 +                "type/patch-update"
    206 +            ]
    207          }
    208      ],
    209 -    "regexManagers": [
    210 +    "customManagers": [
    211          {
    212 +            "customType": "regex",
    213              "description": "Update _VERSION variables in shell scripts",
    214 -            "fileMatch": ["\\.sh$"],
    215 +            "managerFilePatterns": [
    216 +                "/\\.sh$/"
    217 +            ],
    218              "matchStrings": [
    219                  "datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( versioning=(?<versioning>\\S+))?\n.*?_VERSION=\"(?<currentValue>.*)\""
    220              ]
    221 @@ -125,6 +174,9 @@
    222      ],
    223      "vulnerabilityAlerts": {
    224          "enabled": true,
    225 -        "labels": ["security", "type/security-update"]
    226 +        "labels": [
    227 +            "security",
    228 +            "type/security-update"
    229 +        ]
    230      }
    231  }