mirror of
https://github.com/jenkinsci/kubernetes-operator.git
synced 2026-10-18 23:40:31 +02:00
Seed job SCM may now be configured with github-branch-source/GitHubAppCredentials (#719)
* Now allowing seed jobs to be configured with GithubAppCredential * fmt * Validation for GithubAppCredentials type seed job SCM secret * GithubAppCredentials validation error messages were not referring to actual GithubAppCredentials fields * cleanup
This commit is contained in:
@@ -527,6 +527,7 @@ const (
|
||||
BasicSSHCredentialType JenkinsCredentialType = "basicSSHUserPrivateKey"
|
||||
// UsernamePasswordCredentialType define username & password Jenkins credential type
|
||||
UsernamePasswordCredentialType JenkinsCredentialType = "usernamePassword"
|
||||
GithubAppCredentialType JenkinsCredentialType = "githubApp"
|
||||
// ExternalCredentialType defines other credential type
|
||||
ExternalCredentialType JenkinsCredentialType = "external"
|
||||
)
|
||||
@@ -536,6 +537,7 @@ var AllowedJenkinsCredentialMap = map[string]string{
|
||||
string(NoJenkinsCredentialCredentialType): "",
|
||||
string(BasicSSHCredentialType): "",
|
||||
string(UsernamePasswordCredentialType): "",
|
||||
string(GithubAppCredentialType): "",
|
||||
string(ExternalCredentialType): "",
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user