Closed cpmeadors closed 3 weeks ago
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: cpmeadors
The full list of commands accepted by this bot can be found here.
The pull request process is described here
/hold
/unhold
/ok-to-test
/test "Red Hat Konflux / instaslice-operator-on-pull-request"
@cpmeadors: The specified target(s) for /test
were not found.
The following commands are available to trigger required jobs:
/test lint
/test unit
Use /test all
to run all jobs.
/retest
/retest
/retest
/retest
/test lint
@cpmeadors: all tests passed!
Full PR test history. Your PR dashboard.
/lgtm
This PR adds the files necessary for downstream builds without limiting the ability to make upstream builds and releases. I had to add one additional make target to make this easier to manage. I also added some of the necessary downstream changes necessary for productization.
operator runs as nonroot now Added kustomizationfiles so that daemonset can run root
How to test:
oc new-project instaslice-system
operator-sdk run bundle quay.io/redhat-user-workloads/dynamicacceleratorsl-tenant/instaslice-operator-bundle@sha256:4f442009b6b986d2a9b94969be5dd3e93e7821c307fe811b888ca3037f2a7b2f --namespace instaslice-system (bundle use sha that matches op-pr- tag)
update CSV to point operator image and daemonset image to konflux build images, i.e.: quay.io/redhat-user-workloads/dynamicacceleratorsl-tenant/dynamicacceleratorslicer/instaslice-operator@sha256:381462c114dd3b07b42413d99db351a37e702654d73341e51dd30935e32f16f4 and quay.io/redhat-user-workloads/dynamicacceleratorsl-tenant/instaslice-daemonset@sha256:2f0e7ca4bb16763c49dc6544e412f3cfb4df2762a01c40229080acc5d86d0d55
Also update EMULATOR_MODE: true in CSV
oc apply -f config/rbac/instaslice-operator-scc.yaml (FIXME)
oc label node/ nvidia.com/mig.capable=true
oc apply -f test/e2e/resources/instaslice-fake-capacity.yaml (edit name to match node hostname)