Skip to content

Commit

Permalink
chore(renovate): cnpg pin digest
Browse files Browse the repository at this point in the history
  • Loading branch information
buroa committed Dec 16, 2024
1 parent 2ddd43d commit 4866fdb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
7 changes: 3 additions & 4 deletions .github/renovate/customManagers.json5
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
customManagers: [
{
customType: "regex",
description: ["Process custom dependencies"],
description: ["Process YAML custom dependencies"],
fileMatch: [
"(^|/).taskfiles/.+\\.ya?ml$",
"(^|/)talos/.+\\.ya?ml$",
Expand All @@ -21,11 +21,10 @@
},
{
customType: "regex",
description: ["Process CloudnativePG Postgresql version"],
description: ["Process any imageName keys in YAML files (cloudnative-pg)"],
fileMatch: ["(^|/)kubernetes/.+\\.ya?ml$"],
matchStrings: ["imageName: (?<depName>\\S+):(?<currentValue>\\S+)"],
matchStrings: ["imageName: (?<depName>\\S+):(?<currentValue>\\S+)@(?<currentDigest>\\S+)"],
datasourceTemplate: "docker",
versioningTemplate: "redhat",
},
],
}
7 changes: 4 additions & 3 deletions .github/renovate/packageRules.json5
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@
matchPackagePatterns: ["plex"],
},
{
description: ["Custom schedule for frequently updated packages"],
matchDatasources: ["docker", "helm"],
schedule: ["on the first day of the month"],
description: ["Custom schedule for frequently updated container digests"],
matchDatasources: ["docker"],
matchPackagePatterns: ["postgresql"],
matchUpdateTypes: ["digest"],
schedule: ["every 3 months on the first day of the month"]
},
],
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: postgres
spec:
instances: 3
imageName: ghcr.io/cloudnative-pg/postgresql:17.2-7
imageName: ghcr.io/cloudnative-pg/postgresql:17.2@sha256:1a2cb954a8f97ab9bd4a5ca7c51d90739cfa7db4d1e7a3de72221bc7e2305c9f
primaryUpdateStrategy: unsupervised
storage:
size: 20Gi
Expand Down

0 comments on commit 4866fdb

Please sign in to comment.