Skip to content

Commit

Permalink
REMOVE BEFORE MERGE !!
Browse files Browse the repository at this point in the history
  • Loading branch information
snir911 committed Dec 4, 2024
1 parent 96a8ab6 commit 169536a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions config/peerpods/podvm/bootc/podvm-git-buildconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ spec:
source:
contextDir: "config/peerpods/podvm/bootc"
git:
uri: 'https://github.com/openshift/sandboxed-containers-operator.git'
ref: devel
uri: 'https://github.com/snir911/sandboxed-containers-operator.git'
ref: bootc
strategy:
dockerStrategy:
dockerfilePath: "Containerfile.rhel"
Expand Down
8 changes: 5 additions & 3 deletions config/peerpods/podvm/osc-podvm-create-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ spec:
spec:
# Add initContainers to pull the image from the registry and copy
# /podvm-binaries.tar.gz /payload/podvm-binaries.tar.gz
initContainers:
initContainers: # TODO: pull in code to avoid unnecessary pulling?
- name: copy
image: registry.redhat.io/openshift-sandboxed-containers/osc-podvm-payload-rhel9:1.8.1 ## OSC_VERSION
image: registry.redhat.io/openshift-sandboxed-containers/osc-podvm-payload-rhel9:1.8.0 ## OSC_VERSION
command: ["/bin/sh", "-c"]
args:
- |
Expand All @@ -27,9 +27,11 @@ spec:
mountPath: /payload
containers:
- name: create
imagePullPolicy: Always
# Binaries like kubectl, packer and yq are expected to be under /usr/local/bin
# podvm binaries are expected to be under /payload/podvm-binaries.tar.gz
image: registry.redhat.io/openshift-sandboxed-containers/osc-podvm-builder-rhel9:1.8.1 ## OSC_VERSION
#image: registry.redhat.io/openshift-sandboxed-containers/osc-podvm-builder-rhel9:1.8.1 ## OSC_VERSION
image: quay.io/snir/podvm-builder:bootc
# This image contains the following
# azure-podvm-image-handler.sh script under /scripts/azure-podvm-image-handler.sh
# aws-podvm-image-handler.sh script under /scripts/aws-podvm-image-handler.sh
Expand Down
2 changes: 1 addition & 1 deletion config/peerpods/podvm/osc-podvm-delete-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
# aws-podvm-image-handler.sh script under /scripts/aws-podvm-image-handler.sh
# sources for cloud-api-adaptor under /src/cloud-api-adaptor
# Binaries like kubectl, packer and yq under /usr/local/bin
image: registry.redhat.io/openshift-sandboxed-containers/osc-podvm-builder-rhel9:1.8.1 ## OSC_VERSION
image: registry.redhat.io/openshift-sandboxed-containers/osc-podvm-builder-rhel9:1.8.0 ## OSC_VERSION
securityContext:
runAsUser: 0 # needed for container mode dnf access
env:
Expand Down

0 comments on commit 169536a

Please sign in to comment.