Skip to content

Commit d8c9e3f

Browse files
authored
Merge pull request #240 from projectsyn/deps/replace-bitnami
Switch from `bitnami/kubectl` to `quay.io/appuio/oc` image
2 parents 6f067b6 + 321b01f commit d8c9e3f

File tree

17 files changed

+37
-21
lines changed

17 files changed

+37
-21
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-argocd",
2626
"github_url": "https://github.com/projectsyn/component-argocd",
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
@@ -32,10 +32,10 @@ parameters:
3232
http_credentials_secret_name: catalog-http-credentials
3333

3434
images:
35-
kubectl:
36-
registry: docker.io
37-
repository: bitnami/kubectl
38-
tag: '1.30.7@sha256:1249fc292e84a38575ee0cadc3e28dcd7ddf5a3a4e5da401b1a8599e8ac52a1b'
35+
oc:
36+
registry: quay.io
37+
repository: appuio/oc
38+
tag: v4.18
3939
kapitan:
4040
registry: docker.io
4141
repository: kapicorp/kapitan

component/argocd.jsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ local tls_cronjob =
468468
spec+: {
469469
containers_: {
470470
refresh: kube.Container('refresh') {
471-
image: common.render_image('kubectl'),
471+
image: common.render_image('oc', include_tag=true),
472472
command: [
473473
'kubectl',
474474
'delete',

component/hooks.jsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ local createJob(jobName, hook, args) = kube.Job(jobName) {
6060
containers_+: {
6161
annotate_argocd: kube.Container(jobName) {
6262
workingDir: '/home',
63-
image: common.render_image('kubectl', include_tag=true),
63+
image: common.render_image('oc', include_tag=true),
6464
command: [ 'kubectl' ],
6565
args: args,
6666
env: [

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/defaults/argocd/argocd/25_hooks/hooks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ spec:
8383
env:
8484
- name: HOME
8585
value: /home
86-
image: docker.io/bitnami/kubectl:1.30.7@sha256:1249fc292e84a38575ee0cadc3e28dcd7ddf5a3a4e5da401b1a8599e8ac52a1b
86+
image: quay.io/appuio/oc:v4.18
8787
imagePullPolicy: IfNotPresent
8888
name: argocd-post-sync
8989
ports: []

tests/golden/defaults/argocd/argocd/30_argocd/10_refresh_argocd_tls.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ spec:
7474
env:
7575
- name: HOME
7676
value: /home/refresh
77-
image: docker.io/bitnami/kubectl
77+
image: quay.io/appuio/oc:v4.18
7878
imagePullPolicy: IfNotPresent
7979
name: refresh
8080
ports: []

tests/golden/https-catalog/argocd/argocd/25_hooks/hooks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ spec:
8383
env:
8484
- name: HOME
8585
value: /home
86-
image: docker.io/bitnami/kubectl:1.30.7@sha256:1249fc292e84a38575ee0cadc3e28dcd7ddf5a3a4e5da401b1a8599e8ac52a1b
86+
image: quay.io/appuio/oc:v4.18
8787
imagePullPolicy: IfNotPresent
8888
name: argocd-post-sync
8989
ports: []

tests/golden/https-catalog/argocd/argocd/30_argocd/10_refresh_argocd_tls.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ spec:
7474
env:
7575
- name: HOME
7676
value: /home/refresh
77-
image: docker.io/bitnami/kubectl
77+
image: quay.io/appuio/oc:v4.18
7878
imagePullPolicy: IfNotPresent
7979
name: refresh
8080
ports: []

tests/golden/openshift/argocd/argocd/25_hooks/hooks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ spec:
8383
env:
8484
- name: HOME
8585
value: /home
86-
image: docker.io/bitnami/kubectl:1.30.7@sha256:1249fc292e84a38575ee0cadc3e28dcd7ddf5a3a4e5da401b1a8599e8ac52a1b
86+
image: quay.io/appuio/oc:v4.18
8787
imagePullPolicy: IfNotPresent
8888
name: argocd-post-sync
8989
ports: []

0 commit comments

Comments
 (0)