diff --git a/validator/schema/platformsh.application.json b/validator/schema/platformsh.application.json index fdae8ee..37ace90 100644 --- a/validator/schema/platformsh.application.json +++ b/validator/schema/platformsh.application.json @@ -91,8 +91,7 @@ } }, "required": [ - "source", - "source_path" + "source" ], "additionalProperties": false }, @@ -381,8 +380,7 @@ } }, "required": [ - "source", - "source_path" + "source" ], "additionalProperties": false }, @@ -789,8 +787,7 @@ } }, "required": [ - "source", - "source_path" + "source" ], "additionalProperties": false }, diff --git a/validator/schema/upsun.json b/validator/schema/upsun.json index 7fc8bb1..7802f22 100644 --- a/validator/schema/upsun.json +++ b/validator/schema/upsun.json @@ -90,8 +90,7 @@ } }, "required": [ - "source", - "source_path" + "source" ], "additionalProperties": false }, @@ -376,8 +375,7 @@ } }, "required": [ - "source", - "source_path" + "source" ], "additionalProperties": false }, @@ -780,8 +778,7 @@ } }, "required": [ - "source", - "source_path" + "source" ], "additionalProperties": false }, diff --git a/validator/validator_test.go b/validator/validator_test.go index af7564e..89834fd 100644 --- a/validator/validator_test.go +++ b/validator/validator_test.go @@ -24,6 +24,9 @@ func Test_validateUpsunConfig(t *testing.T) { applications: app1: type: "python:3.11" + mounts: + /mnt/data: + source: storage `), }, },