Make it so user cannot create or scale PG server group to 1 worker node (#16005)

* Added not equals validation

* Added validation to worker node in deploy

* Fixed info

* Change string

* Change string

* Change string
This commit is contained in:
nasc17
2021-07-07 12:25:07 -07:00
committed by GitHub
parent 14ce88023e
commit 6078e9f459
5 changed files with 26 additions and 3 deletions

View File

@@ -615,6 +615,11 @@
{
"type": "is_integer",
"description": "%should.be.integer%"
},
{
"type": "!=",
"target": "1",
"description": "%worker.node.count.should.not.be.one%"
}
],
"defaultValue": "2",