diff --git a/.github/renovate.json b/.github/renovate.json index de03ecd..ca30bd9 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -8,7 +8,6 @@ "enabledManagers": [ "custom.regex", "github-actions", - "helmv3", "terraform" ], "customManagers": [ @@ -20,6 +19,16 @@ "matchStrings": [ "\\s*# renovate: datasource=(?[a-z-.]+?) depName=(?[^\\s]+?)(?: (?:packageName)=(?[^\\s]+?))?(?: versioning=(?[^\\s]+?))?(?: extractVersion=(?[^\\s]+?))?(?: registryUrl=(?[^\\s]+?))?\\s+[A-Za-z0-9_]+?_(VERSION|version)\\s*:*\\??=\\s*[\"']?(?.+?)[\"']?\\s" ] + }, + { + "customType": "regex", + "datasourceTemplate": "custom.minio", + "fileMatch": [ + "(^|/)minio\\.tf$" + ], + "matchStrings": [ + "#\\s*renovate:\\s*(datasource=(?.*?) )?depName=(?.*?)( versioning=(?.*?))?\\s*\\w*:\\s*(?.*)\\s" + ] } ], "github-actions": { @@ -28,14 +37,6 @@ "(^|/)action\\.ya?ml$" ] }, - "helmv3": { - "registryAliases": { - "minio": "https://charts.min.io/" - }, - "fileMatch": [ - "(^|/)minio\\.tf$" - ] - }, "terraform": { "commitMessageTopic": "Terraform {{depName}}", "fileMatch": [ @@ -43,6 +44,12 @@ ], "pinDigests": false }, + "customDatasources": { + "minio": { + "defaultRegistryUrlTemplate": "https://github.com/minio/minio/tree/master/helm-releases", + "format": "html" + } + }, "packageRules": [ { "matchManagers": ["custom.regex", "github-actions", "terraform"], diff --git a/minio.tf b/minio.tf index 250d41f..75e74db 100644 --- a/minio.tf +++ b/minio.tf @@ -2,6 +2,7 @@ module "minio" { source = "git@github.com:steled/terraformmodules.git//minio?ref=v0.9" # source = "../terraformmodules/minio/" + # renovate: depName=minio minio_version = "5.2.0" # check version here: https://github.com/minio/minio/blob/master/helm/minio/Chart.yaml#L4 kubernetes_namespace_name = "minio" ingress_domains = var.minio_ingress_domains_prd