1
0

update keys in config.tpl according to values.yml

This commit is contained in:
sido 2018-07-04 00:04:13 +02:00
parent 606716abfa
commit d8324a937c

View File

@ -15,12 +15,12 @@ data:
<authorizationStrategy class="hudson.security.FullControlOnceLoggedInAuthorizationStrategy"> <authorizationStrategy class="hudson.security.FullControlOnceLoggedInAuthorizationStrategy">
<denyAnonymousReadAccess>true</denyAnonymousReadAccess> <denyAnonymousReadAccess>true</denyAnonymousReadAccess>
</authorizationStrategy> </authorizationStrategy>
{{- if .Values.Security.UseGitHub }} {{- if .Values.jenkins.Master.Security.UseGitHub }}
<securityRealm class="org.jenkinsci.plugins.GithubSecurityRealm"> <securityRealm class="org.jenkinsci.plugins.GithubSecurityRealm">
<githubWebUri>https://github.com</githubWebUri> <githubWebUri>https://github.com</githubWebUri>
<githubApiUri>https://api.github.com</githubApiUri> <githubApiUri>https://api.github.com</githubApiUri>
<clientID>{{ .Values.Master.Security.Github.ClientID }}</clientID> <clientID>{{ .Values.jenkins.Master.Security.Github.ClientID }}</clientID>
<clientSecret>{{ .Values.Master.Security.Github.ClientSecret }}</clientSecret> <clientSecret>{{ .Values.jenkins.Master.Security.Github.ClientSecret }}</clientSecret>
<oauthScopes>read:org,user:email</oauthScopes> <oauthScopes>read:org,user:email</oauthScopes>
</securityRealm> </securityRealm>
{{- else }} {{- else }}