Add support for multi-file injection in custom creds

This commit is contained in:
Jim Ladd
2017-11-14 17:26:58 -05:00
parent 87365e5969
commit 286a70f2ca
3 changed files with 14 additions and 10 deletions
+2 -3
View File
@@ -695,11 +695,10 @@ class CredentialTypeInjectorField(JSONSchemaField):
'properties': {
'file': {
'type': 'object',
'properties': {
'template': {'type': 'string'},
'patternProperties': {
'^template\.[a-zA-Z_]+$': {'type': 'string'},
},
'additionalProperties': False,
'required': ['template'],
},
'env': {
'type': 'object',