INFRA-428 | Piyush | Show extraSecurity Groups as read only field (#36)

This commit is contained in:
Piyush Sinha
2020-07-31 12:39:18 +05:30
committed by GitHub Enterprise
parent cae70eb123
commit 1078ff8375
2 changed files with 39 additions and 1 deletions

View File

@@ -103,6 +103,12 @@
],
"default": "sharedAlb"
},
"extraSecurityGroups": {
"type": "array",
"items": {
"type": "string"
}
},
"accessPolicies": {
"type": "array",
"items": {

View File

@@ -447,7 +447,39 @@
"elements": [
{
"type": "Control",
"scope": "#/properties/deployment/properties/loadBalancers"
"scope": "#/properties/deployment/properties/loadBalancers",
"options": {
"detail": {
"type": "VerticalLayout",
"elements": [
{
"type": "Control",
"scope": "#/properties/type"
},
{
"type": "Control",
"scope": "#/properties/endpoint"
},
{
"type": "Control",
"scope": "#/properties/accessPolicies"
},
{
"type": "Control",
"scope": "#/properties/extraSecurityGroups",
"rule": {
"effect": "DISABLE",
"condition": {
"scope": "#/properties/extraSecurityGroups",
"schema": {
"minItems": 0
}
}
}
}
]
}
}
}
]
},