From e4d70de6658ff8eb8a9191cb1426c4d2987a8af6 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 20 May 2024 11:22:52 +0000 Subject: [PATCH] chore: Configure Renovate (#258) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add renovate.json * chore(ci): add renovate annotations in config/samples/*.yaml --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Patryk Małek --- config/samples/controlplane.yaml | 1 + .../samples/dataplane-bluegreen-rollout.yaml | 3 ++- .../dataplane-horizontal-autoscaling.yaml | 3 ++- config/samples/dataplane-konnect.yaml | 1 + config/samples/dataplane-sidecar.yaml | 3 ++- .../samples/dataplane-with-custom-ports.yaml | 3 ++- config/samples/dataplane.yaml | 3 ++- config/samples/gateway-httproute.yaml | 4 +++- .../gateway-with-gatewayconfiguration.yaml | 3 ++- config/samples/gatewayconfiguration.yaml | 3 ++- renovate.json | 24 +++++++++++++++++++ 11 files changed, 43 insertions(+), 8 deletions(-) create mode 100644 renovate.json diff --git a/config/samples/controlplane.yaml b/config/samples/controlplane.yaml index ed6967376..6535ff859 100644 --- a/config/samples/controlplane.yaml +++ b/config/samples/controlplane.yaml @@ -13,6 +13,7 @@ spec: spec: containers: - name: controller + # renovate: datasource=docker depName=kong/kubernetes-ingress-controller packageName=kong/kubernetes-ingress-controller versioning=docker image: kong/kubernetes-ingress-controller:3.1 readinessProbe: initialDelaySeconds: 1 diff --git a/config/samples/dataplane-bluegreen-rollout.yaml b/config/samples/dataplane-bluegreen-rollout.yaml index f3d43d44e..e33196559 100644 --- a/config/samples/dataplane-bluegreen-rollout.yaml +++ b/config/samples/dataplane-bluegreen-rollout.yaml @@ -13,7 +13,8 @@ spec: spec: containers: - name: proxy - image: kong:3.6 + # renovate: datasource=docker depName=kong/kong-gateway packageName=kong/kong-gateway versioning=docker + image: kong/kong-gateway:3.6 env: - name: KONG_LOG_LEVEL value: debug diff --git a/config/samples/dataplane-horizontal-autoscaling.yaml b/config/samples/dataplane-horizontal-autoscaling.yaml index 5ae0f8ba3..1abb34ffe 100644 --- a/config/samples/dataplane-horizontal-autoscaling.yaml +++ b/config/samples/dataplane-horizontal-autoscaling.yaml @@ -41,7 +41,8 @@ spec: spec: containers: - name: proxy - image: kong:3.6 + # renovate: datasource=docker depName=kong/kong-gateway packageName=kong/kong-gateway versioning=docker + image: kong/kong-gateway:3.6 env: - name: KONG_LOG_LEVEL value: debug diff --git a/config/samples/dataplane-konnect.yaml b/config/samples/dataplane-konnect.yaml index a296f8ed5..a97b01155 100644 --- a/config/samples/dataplane-konnect.yaml +++ b/config/samples/dataplane-konnect.yaml @@ -34,6 +34,7 @@ spec: spec: containers: - name: proxy + # renovate: datasource=docker depName=kong/kong-gateway packageName=kong/kong-gateway versioning=docker image: kong/kong-gateway:3.6 env: - name: KONG_ROLE diff --git a/config/samples/dataplane-sidecar.yaml b/config/samples/dataplane-sidecar.yaml index 00bf32c13..c4e737ac7 100644 --- a/config/samples/dataplane-sidecar.yaml +++ b/config/samples/dataplane-sidecar.yaml @@ -45,7 +45,8 @@ spec: initialDelaySeconds: 1 periodSeconds: 1 - name: proxy - image: kong:3.6 + # renovate: datasource=docker depName=kong/kong-gateway packageName=kong/kong-gateway versioning=docker + image: kong/kong-gateway:3.6 volumeMounts: - name: proxy-logs mountPath: /etc/kong/log/ diff --git a/config/samples/dataplane-with-custom-ports.yaml b/config/samples/dataplane-with-custom-ports.yaml index 339ed6fff..1bf6cb392 100644 --- a/config/samples/dataplane-with-custom-ports.yaml +++ b/config/samples/dataplane-with-custom-ports.yaml @@ -13,7 +13,8 @@ spec: spec: containers: - name: proxy - image: kong:3.6 + # renovate: datasource=docker depName=kong/kong-gateway packageName=kong/kong-gateway versioning=docker + image: kong/kong-gateway:3.6 env: - name: KONG_LOG_LEVEL value: debug diff --git a/config/samples/dataplane.yaml b/config/samples/dataplane.yaml index 1ca16e3dc..4119ccafd 100644 --- a/config/samples/dataplane.yaml +++ b/config/samples/dataplane.yaml @@ -13,7 +13,8 @@ spec: spec: containers: - name: proxy - image: kong:3.6 + # renovate: datasource=docker depName=kong/kong-gateway packageName=kong/kong-gateway versioning=docker + image: kong/kong-gateway:3.6 env: - name: KONG_LOG_LEVEL value: debug diff --git a/config/samples/gateway-httproute.yaml b/config/samples/gateway-httproute.yaml index 5e60b520b..0d4e2a77f 100644 --- a/config/samples/gateway-httproute.yaml +++ b/config/samples/gateway-httproute.yaml @@ -131,7 +131,8 @@ spec: spec: containers: - name: proxy - image: kong:3.6 + # renovate: datasource=docker depName=kong/kong-gateway packageName=kong/kong-gateway versioning=docker + image: kong/kong-gateway:3.6 readinessProbe: initialDelaySeconds: 1 periodSeconds: 1 @@ -141,6 +142,7 @@ spec: spec: containers: - name: controller + # renovate: datasource=docker depName=kong/kubernetes-ingress-controller packageName=kong/kubernetes-ingress-controller versioning=docker image: kong/kubernetes-ingress-controller:3.1 readinessProbe: initialDelaySeconds: 1 diff --git a/config/samples/gateway-with-gatewayconfiguration.yaml b/config/samples/gateway-with-gatewayconfiguration.yaml index 94500334f..617067922 100644 --- a/config/samples/gateway-with-gatewayconfiguration.yaml +++ b/config/samples/gateway-with-gatewayconfiguration.yaml @@ -16,7 +16,8 @@ spec: spec: containers: - name: proxy - image: kong:3.6 + # renovate: datasource=docker depName=kong/kong-gateway packageName=kong/kong-gateway versioning=docker + image: kong/kong-gateway:3.6 readinessProbe: initialDelaySeconds: 1 periodSeconds: 1 diff --git a/config/samples/gatewayconfiguration.yaml b/config/samples/gatewayconfiguration.yaml index 85b2a4e8c..8b2a4ba8a 100644 --- a/config/samples/gatewayconfiguration.yaml +++ b/config/samples/gatewayconfiguration.yaml @@ -16,7 +16,8 @@ spec: spec: containers: - name: proxy - image: kong:3.6 + # renovate: datasource=docker depName=kong/kong-gateway packageName=kong/kong-gateway versioning=docker + image: kong/kong-gateway:3.6 readinessProbe: initialDelaySeconds: 1 periodSeconds: 1 diff --git a/renovate.json b/renovate.json new file mode 100644 index 000000000..910cf0cb2 --- /dev/null +++ b/renovate.json @@ -0,0 +1,24 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:recommended" + ], + "automerge": false, + "separateMinorPatch": true, + "labels": [ + "dependencies" + ], + "schedule": "before 5am every weekday", + "customManagers": [ + { + "description": "Match dependencies in config/samples/.*.yaml that are properly annotated with `# renovate: datasource={} depName={} [packageName={}] [registryUrl={}] versioning={}.`", + "customType": "regex", + "fileMatch": [ + "^config/samples/.*.yaml$" + ], + "matchStrings": [ + "#\\s+renovate:\\s+datasource=(?.*?)\\s+depName=(?.*?)\\s+(packageName=(?.*)\\s+)?(registryUrl=(?.*)\\s+)?versioning=(?.*?)\\n.+'(?.*?)'" + ] + } + ] +}