Skip to content

Commit a66ba4e

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
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
},

0 commit comments

Comments
 (0)