Skip to content

Commit 3cf72ca

Browse files
committed
Fix oauth redirect ref in jenkins service account
1 parent 899f139 commit 3cf72ca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/jenkins/jenkins-persistent-template.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175
"metadata": {
176176
"name": "${JENKINS_SERVICE_NAME}",
177177
"annotations": {
178-
"serviceaccounts.openshift.io/oauth-redirectref.jenkins": "{\"kind\": \"Route\", \"name\": \"${JENKINS_SERVICE_NAME}\", \"group\": \"\"}"
178+
"serviceaccounts.openshift.io/oauth-redirectreference.jenkins": "{\"kind\":\"OAuthRedirectReference\",\"apiVersion\":\"v1\",\"reference\":{\"kind\":\"Route\",\"name\":\"${JENKINS_SERVICE_NAME}\"}}"
179179
}
180180
}
181181
},

pkg/bootstrap/bindata.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)