forked from VirtusLab/jenkins-operator
-
Notifications
You must be signed in to change notification settings - Fork 242
Open
Labels
Description
Describe the bug
When trying to set up seed jobs with authorizationStrategy set to serviceAccount, the operator crashes and goes into a restart loop. The code at https://github.com/jenkinsci/kubernetes-operator/blob/master/pkg/client/jenkins.go#L208 ends up with a bad reference since the BasicAuth property is not set, causing the operator to panic and restart.
To Reproduce
Set authorizationStrategy to serviceAccount, and add a seedjob. We use the openshift-login plugin to enforce logins with openshift credentials.
Additional information
Kubernetes version:
Jenkins Operator version: 0.8.1