Skip to content

Instantly share code, notes, and snippets.

@welshstew
Last active November 2, 2021 10:52
Show Gist options
  • Save welshstew/2cf5c57ae8592f08c996453cf86d1909 to your computer and use it in GitHub Desktop.
Save welshstew/2cf5c57ae8592f08c996453cf86d1909 to your computer and use it in GitHub Desktop.
sudo cp *.pem /etc/pki/ca-trust/source/anchors
sudo update-ca-trust
oc sa get-token migration-controller -n openshift-migration
sudo -i
yum -y install podman
podman login registry.redhat.io
mkdir $HOME/mtc
podman cp $(sudo podman create registry.redhat.io/rhmtc/openshift-migration-rhel7-operator:v1.3.1):/operator.yml $HOME/mtc
podman cp $(sudo podman create registry.redhat.io/rhmtc/openshift-migration-rhel7-operator:v1.3.1):/controller-3.yml $HOME/mtc
oc create -f $HOME/mtc/operator.yml
oc create -f $HOME/mtc/controller-3.yml
oc get pods -n openshift-migration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment