This is dependent on the Red Hat Jenkins Operator being installed on an OpenShift 4.x cluster
Jenkins Configration as Code (JCasC) is used to configure Jenkins automatically to a desired state. YAML, greoovy, and seed jobs are supported. More information can be found configuration-as-code-plugin
oc create -f ./app-sre-jcasc.yaml
This is the custom AppSRE Jenkins customizations used by the JCasC plugin to install a custom configuration via a configmap.
oc create -f ./app-sre-podtemplates.yaml
This was required in our case to run a groovy script post app-sre-jcasc.yaml configmap to load an additional app-interface podtemplate via a configmap and point to the https://quay.io/repository/arilivigni/app-sre-jenkins-agent quay.io image that has buldah and jenkins slave components installed.
This is the main deployment and can be installed in the UI through the Jenkins operator using oc.
oc create -f ./app-sre-jenkins.yaml