OpenShift CodeReady Containers

Use Jenkins X and OpenShift 4.x on your laptop

This guide will walk you though how to setup Jenkins X on your laptop using OpenShift 4.x with CodeReady Containers


crc config set cpus 6
crc config set memory 11264

crc start
  • once your cluster boots up you can setup your environment…
eval $(crc oc-env)

You can copy/paste the oc login -u kubeadmin login command….

oc login -u kubeadmin -p XXXX https://api.crc.testing:6443
  • to allow Tekton to be installed on OpenShift you also need to run the following commands:
oc new-project tekton-pipelines
oc adm policy add-scc-to-user anyuid -z tekton-pipelines-controller
oc adm policy add-scc-to-user anyuid -z tekton-pipelines-webhook


ngrok http http://hook-jx.apps-crc.testing
  • copy your personal ngrok domain name of the form into the charts/jenkins-x/jxboot-helmfile-resources/values.yaml file in the ingress.customHosts.hosts file so that your file looks like this…
    hook: ""
  • git add, commit and push your changes:
git add *
git commit -a -m "fix: configure webhooks"
git push origin master
jx ns jx