Add the ability to specify K8S/OCP credentials on a Job Template

see: https://github.com/ansible/awx/issues/5735
This commit is contained in:
Ryan Petrello
2020-07-15 16:57:42 -04:00
parent cd6df9299f
commit 0b221a42c0
8 changed files with 44 additions and 19 deletions

View File

@@ -67,6 +67,10 @@
&--external:before {
content: '\f14c'
}
&--kubernetes_bearer_token:before {
content: '\f0c2';
}
}
.TagComponent-button {

View File

@@ -111,7 +111,7 @@ function multiCredentialModalController(GetBasePath, qs, MultiCredentialService)
scope.credentialTypes.forEach((credentialType => {
if(credentialType.kind
.match(/^(machine|cloud|net|ssh|vault)$/)) {
.match(/^(machine|cloud|net|ssh|vault|kubernetes)$/)) {
scope.displayedCredentialTypes.push(credentialType);
}
}));