Open k37y opened 3 years ago
I have this same image, the pod has no logs:
apiVersion: jenkins.io/v1alpha2
kind: JenkinsImage
metadata:
name: my-first-jenkins
spec:
from:
name: jenkins/jenkins
tag: lts
plugins:
- name: kubernetes
to:
name: my-first-jenkins
registry: 'image-registry.openshift-image-registry.svc:5000/custom-jenkins'
tag: lts
$ kubectl logs my-first-jenkins-builder
The issue is because the image doesn't have a command, just args. If you add - command: [kaniko/executor]
to the pod it will run and have logs.
Same problem here, pod gets started and ImageBuildSuccessful message shows up. Nothing happens afterwards, no logs no error.
Jenkins Operator: v0.7.1 Openshift: 4.7.19
Steps to Reproduce:
Actual results: The custom Jenkins image has not produced. The status shows Phase: ImageBuildSuccessful message.
Expected results: The image should be pushed to the given registry.