Skip to content

Commit

Permalink
Add renovate config (#20)
Browse files Browse the repository at this point in the history
* extract image references to top-level kustomize

Move the strict definition of images from the deployment manifests for
each proxy type to their respective kustomize.yaml.  This lets us watch
for updates on them using renovate.

Signed-off-by: Andy Sadler <[email protected]>

* add renovate config

This enables updates for the following:
- go.mod dependencies
- images referenced in container manifests
- images referenced in kustomize manifests

Signed-off-by: Andy Sadler <[email protected]>

---------

Signed-off-by: Andy Sadler <[email protected]>
  • Loading branch information
sadlerap authored Dec 9, 2024
1 parent 24067fa commit 5b91bfd
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 3 deletions.
3 changes: 3 additions & 0 deletions acceptance/test/dumb-proxy/config/proxy/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ configMapGenerator:
- name: namespace-lister-proxy
files:
- nginx.conf
images:
- name: openresty/openresty
newTag: 1.25.3.1-0-jammy
2 changes: 1 addition & 1 deletion acceptance/test/dumb-proxy/config/proxy/proxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ spec:
spec:
serviceAccountName: namespace-lister-proxy
containers:
- image: openresty/openresty:1.25.3.1-0-jammy
- image: openresty/openresty:latest
name: nginx-120
command:
- "/usr/local/openresty/bin/openresty"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,8 @@ configMapGenerator:
- name: namespace-lister-proxy-auth
files:
- nginx.conf
images:
- name: registry.access.redhat.com/ubi9/ubi
digest: sha256:66233eebd72bb5baa25190d4f55e1dc3fff3a9b77186c1f91a0abdb274452072
- name: openresty/openresty
newTag: 1.25.3.1-0-jammy
4 changes: 2 additions & 2 deletions acceptance/test/smart-proxy/config/proxy-auth/proxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
serviceAccountName: namespace-lister-proxy-auth
initContainers:
- name: add-sva-token-to-nginx-config
image: registry.access.redhat.com/ubi9/ubi@sha256:66233eebd72bb5baa25190d4f55e1dc3fff3a9b77186c1f91a0abdb274452072
image: registry.access.redhat.com/ubi9/ubi:latest
command:
- sh
- -c
Expand Down Expand Up @@ -54,7 +54,7 @@ spec:
cpu: 10m
memory: 64Mi
containers:
- image: openresty/openresty:1.25.3.1-0-jammy
- image: openresty/openresty:latest
name: nginx-120
command:
- "/usr/local/openresty/bin/openresty"
Expand Down
13 changes: 13 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"extends": [
"github>konflux-ci/mintmaker//config/renovate/renovate.json"
],
"enabledManagers": [
"docker",
"go",
"kustomize",
],
"go": {
"pinDigests": false
},
}

0 comments on commit 5b91bfd

Please sign in to comment.