Skip to content

Commit 7ce1e8f

Browse files
authored
Merge pull request #94 from projectsyn/deps/replace-bitnami
Switch from `bitnami/kubectl` to `quay.io/appuio/oc` image
2 parents d1793cc + 8e8f5c6 commit 7ce1e8f

File tree

6 files changed

+26
-10
lines changed

6 files changed

+26
-10
lines changed

.cruft.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"template": "https://github.com/projectsyn/commodore-component-template.git",
3-
"commit": "98d16f99766e6c6d97322dbe42e058f0e2bf73d0",
3+
"commit": "56dd2ee980f197ec2c8b3977c16458e43d0c6ef2",
44
"checkout": "main",
55
"context": {
66
"cookiecutter": {
@@ -17,14 +17,15 @@
1717
"automerge_patch_v0": "n",
1818
"automerge_patch_regexp_blocklist": "",
1919
"automerge_patch_v0_regexp_allowlist": "",
20-
"automerge_minor_regexp_allowlist": "",
20+
"automerge_minor_regexp_allowlist": "^quay.io/appuio/oc$",
2121
"auto_release": "y",
2222
"copyright_holder": "VSHN AG <[email protected]>",
2323
"copyright_year": "2021",
2424
"github_owner": "projectsyn",
2525
"github_name": "component-vcluster",
2626
"github_url": "https://github.com/projectsyn/component-vcluster",
27-
"_template": "https://github.com/projectsyn/commodore-component-template.git"
27+
"_template": "https://github.com/projectsyn/commodore-component-template.git",
28+
"_commit": "56dd2ee980f197ec2c8b3977c16458e43d0c6ef2"
2829
}
2930
},
3031
"directory": null

class/defaults.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ parameters:
2020
registry: ghcr.io
2121
image: loft-sh/vcluster-oss
2222
tag: "0.24.1"
23-
kubectl:
24-
registry: docker.io
25-
image: bitnami/kubectl
26-
tag: "1.32.1"
23+
oc:
24+
registry: quay.io
25+
image: appuio/oc
26+
tag: v4.18
2727

2828
storage:
2929
persistence: auto

component/ocp-route.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ local routePatchJob = function(name, secretName, host)
6363
serviceAccountName: serviceAccount.metadata.name,
6464
containers_+: {
6565
create_route: kube.Container(name) {
66-
image: common.formatImage(params.images.kubectl),
66+
image: common.formatImage(params.images.oc),
6767
workingDir: '/export',
6868
command: [ 'sh' ],
6969
args: [ '-eu', '-c', script ],

component/post-setup.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ local synthesize = function(name, secretName, url)
1919
spec+: {
2020
containers_+: {
2121
patch_crds: kube.Container(jobName) {
22-
image: common.formatImage(params.images.kubectl),
22+
image: common.formatImage(params.images.oc),
2323
workingDir: '/export',
2424
command: [ 'sh' ],
2525
args: [ '-eu', '-c', importstr './scripts/synthesize.sh', '--', url ],

renovate.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,21 @@
3737
"automerge",
3838
"bump:patch"
3939
]
40+
},
41+
{
42+
"matchUpdateTypes": [
43+
"minor"
44+
],
45+
"automerge": true,
46+
"platformAutomerge": false,
47+
"labels": [
48+
"dependency",
49+
"automerge",
50+
"bump:minor"
51+
],
52+
"matchPackagePatterns": [
53+
"^quay.io/appuio/oc$"
54+
]
4055
}
4156
]
4257
}

tests/golden/oidc/oidc/oidc/11_synthesize.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ spec:
5252
value: /export
5353
- name: VCLUSTER_SERVER_URL
5454
value: https://oidc:443
55-
image: docker.io/bitnami/kubectl:1.32.1
55+
image: quay.io/appuio/oc:v4.18
5656
imagePullPolicy: IfNotPresent
5757
name: oidc-synthesize
5858
ports: []

0 commit comments

Comments
 (0)