Skip to content

Commit 32f5d08

Browse files
committed
Switch from bitnami/kubectl to quay.io/appuio/oc image
1 parent d1793cc commit 32f5d08

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

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 ],

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)