From 62d33c1a041b9b164dbebc95102703cef715c48a Mon Sep 17 00:00:00 2001 From: KsaweryZietara Date: Mon, 23 Dec 2024 15:35:33 +0100 Subject: [PATCH] Enable current configuration load --- internal/broker/plans_schema.go | 9 ++++++--- .../testdata/aws/aws-schema-additional-params-eu.json | 1 + .../testdata/aws/aws-schema-additional-params.json | 1 + internal/broker/testdata/aws/aws-schema-eu.json | 1 + internal/broker/testdata/aws/aws-schema.json | 1 + .../aws/free-aws-schema-additional-params-eu.json | 1 + .../testdata/aws/free-aws-schema-additional-params.json | 1 + internal/broker/testdata/aws/free-aws-schema-eu.json | 1 + internal/broker/testdata/aws/free-aws-schema.json | 1 + .../aws/update-aws-schema-additional-params.json | 1 + internal/broker/testdata/aws/update-aws-schema.json | 1 + .../aws/update-free-aws-schema-additional-params.json | 1 + .../azure-lite-schema-additional-params-eu-reduced.json | 1 + .../azure/azure-lite-schema-additional-params-eu.json | 1 + .../azure-lite-schema-additional-params-reduced.json | 1 + .../azure/azure-lite-schema-additional-params.json | 1 + .../testdata/azure/azure-lite-schema-eu-reduced.json | 1 + internal/broker/testdata/azure/azure-lite-schema-eu.json | 1 + .../broker/testdata/azure/azure-lite-schema-reduced.json | 1 + internal/broker/testdata/azure/azure-lite-schema.json | 1 + .../azure/azure-schema-additional-params-eu.json | 1 + .../testdata/azure/azure-schema-additional-params.json | 1 + internal/broker/testdata/azure/azure-schema-eu.json | 1 + internal/broker/testdata/azure/azure-schema.json | 1 + .../azure/azure-trial-schema-additional-params.json | 1 + internal/broker/testdata/azure/azure-trial-schema.json | 1 + .../azure/free-azure-schema-additional-params-eu.json | 1 + .../azure/free-azure-schema-additional-params.json | 1 + internal/broker/testdata/azure/free-azure-schema-eu.json | 1 + internal/broker/testdata/azure/free-azure-schema.json | 1 + ...date-azure-lite-schema-additional-params-reduced.json | 1 + .../update-azure-lite-schema-additional-params.json | 1 + .../testdata/azure/update-azure-lite-schema-reduced.json | 1 + .../broker/testdata/azure/update-azure-lite-schema.json | 1 + .../azure/update-azure-schema-additional-params.json | 1 + internal/broker/testdata/azure/update-azure-schema.json | 1 + .../update-azure-trial-schema-additional-params.json | 1 + .../update-free-azure-schema-additional-params.json | 1 + .../gcp-schema-additional-params-assured-workloads.json | 1 + .../testdata/gcp/gcp-schema-additional-params.json | 1 + .../testdata/gcp/gcp-schema-assured-workloads.json | 1 + internal/broker/testdata/gcp/gcp-schema.json | 1 + .../gcp/update-gcp-schema-additional-params.json | 1 + internal/broker/testdata/gcp/update-gcp-schema.json | 1 + .../testdata/own-cluster-schema-additional-params.json | 1 + internal/broker/testdata/own-cluster-schema.json | 1 + .../sap-converged-cloud-schema-additional-params.json | 1 + .../sap-converged-cloud/sap-converged-cloud-schema.json | 1 + ...ate-sap-converged-cloud-schema-additional-params.json | 1 + .../update-sap-converged-cloud-schema.json | 1 + .../update-own-cluster-schema-additional-params.json | 1 + internal/broker/testdata/update-own-cluster-schema.json | 1 + 52 files changed, 57 insertions(+), 3 deletions(-) diff --git a/internal/broker/plans_schema.go b/internal/broker/plans_schema.go index 08b49a66d9..0383c74c23 100644 --- a/internal/broker/plans_schema.go +++ b/internal/broker/plans_schema.go @@ -18,6 +18,8 @@ type RootSchema struct { ShowFormView bool `json:"_show_form_view"` // Specifies in what order properties will be displayed on the form ControlsOrder []string `json:"_controlsOrder"` + // Specified to true loads current instance configuration into the update instance schema + LoadCurrentConfig bool `json:"_load_current_config"` } type ProvisioningProperties struct { @@ -362,9 +364,10 @@ func NewSchema(properties interface{}, update bool, required []string) *RootSche Type: Type{ Type: "object", }, - Properties: properties, - ShowFormView: true, - Required: required, + Properties: properties, + ShowFormView: true, + Required: required, + LoadCurrentConfig: true, } if update { diff --git a/internal/broker/testdata/aws/aws-schema-additional-params-eu.json b/internal/broker/testdata/aws/aws-schema-additional-params-eu.json index 8e84b8c3b0..188b8532ce 100644 --- a/internal/broker/testdata/aws/aws-schema-additional-params-eu.json +++ b/internal/broker/testdata/aws/aws-schema-additional-params-eu.json @@ -12,6 +12,7 @@ "oidc", "administrators" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "administrators": { diff --git a/internal/broker/testdata/aws/aws-schema-additional-params.json b/internal/broker/testdata/aws/aws-schema-additional-params.json index e1e4770426..2ae75b3527 100644 --- a/internal/broker/testdata/aws/aws-schema-additional-params.json +++ b/internal/broker/testdata/aws/aws-schema-additional-params.json @@ -12,6 +12,7 @@ "oidc", "administrators" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "administrators": { diff --git a/internal/broker/testdata/aws/aws-schema-eu.json b/internal/broker/testdata/aws/aws-schema-eu.json index e496d7dd19..43c8cced6d 100644 --- a/internal/broker/testdata/aws/aws-schema-eu.json +++ b/internal/broker/testdata/aws/aws-schema-eu.json @@ -9,6 +9,7 @@ "modules", "networking" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "autoScalerMax": { diff --git a/internal/broker/testdata/aws/aws-schema.json b/internal/broker/testdata/aws/aws-schema.json index 8a013c43af..f5e3c6f9e5 100644 --- a/internal/broker/testdata/aws/aws-schema.json +++ b/internal/broker/testdata/aws/aws-schema.json @@ -9,6 +9,7 @@ "modules", "networking" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "autoScalerMax": { diff --git a/internal/broker/testdata/aws/free-aws-schema-additional-params-eu.json b/internal/broker/testdata/aws/free-aws-schema-additional-params-eu.json index 112bcc3385..472f402bd5 100644 --- a/internal/broker/testdata/aws/free-aws-schema-additional-params-eu.json +++ b/internal/broker/testdata/aws/free-aws-schema-additional-params-eu.json @@ -8,6 +8,7 @@ "oidc", "administrators" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "administrators": { diff --git a/internal/broker/testdata/aws/free-aws-schema-additional-params.json b/internal/broker/testdata/aws/free-aws-schema-additional-params.json index 9181f46015..82d1eb93de 100644 --- a/internal/broker/testdata/aws/free-aws-schema-additional-params.json +++ b/internal/broker/testdata/aws/free-aws-schema-additional-params.json @@ -8,6 +8,7 @@ "oidc", "administrators" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "administrators": { diff --git a/internal/broker/testdata/aws/free-aws-schema-eu.json b/internal/broker/testdata/aws/free-aws-schema-eu.json index 7c1368e019..e4c4158d71 100644 --- a/internal/broker/testdata/aws/free-aws-schema-eu.json +++ b/internal/broker/testdata/aws/free-aws-schema-eu.json @@ -6,6 +6,7 @@ "modules", "networking" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "modules": { diff --git a/internal/broker/testdata/aws/free-aws-schema.json b/internal/broker/testdata/aws/free-aws-schema.json index db4c3e22db..29f0ace25b 100644 --- a/internal/broker/testdata/aws/free-aws-schema.json +++ b/internal/broker/testdata/aws/free-aws-schema.json @@ -6,6 +6,7 @@ "modules", "networking" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "modules": { diff --git a/internal/broker/testdata/aws/update-aws-schema-additional-params.json b/internal/broker/testdata/aws/update-aws-schema-additional-params.json index b91dddadf8..ab8650e6a7 100644 --- a/internal/broker/testdata/aws/update-aws-schema-additional-params.json +++ b/internal/broker/testdata/aws/update-aws-schema-additional-params.json @@ -7,6 +7,7 @@ "oidc", "administrators" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "administrators": { diff --git a/internal/broker/testdata/aws/update-aws-schema.json b/internal/broker/testdata/aws/update-aws-schema.json index 397ed8c894..9aed09282a 100644 --- a/internal/broker/testdata/aws/update-aws-schema.json +++ b/internal/broker/testdata/aws/update-aws-schema.json @@ -5,6 +5,7 @@ "autoScalerMin", "autoScalerMax" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "autoScalerMax": { diff --git a/internal/broker/testdata/aws/update-free-aws-schema-additional-params.json b/internal/broker/testdata/aws/update-free-aws-schema-additional-params.json index c135107dc3..f88b804ea4 100644 --- a/internal/broker/testdata/aws/update-free-aws-schema-additional-params.json +++ b/internal/broker/testdata/aws/update-free-aws-schema-additional-params.json @@ -4,6 +4,7 @@ "oidc", "administrators" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "administrators": { diff --git a/internal/broker/testdata/azure/azure-lite-schema-additional-params-eu-reduced.json b/internal/broker/testdata/azure/azure-lite-schema-additional-params-eu-reduced.json index 967b8fc877..56377d06c2 100644 --- a/internal/broker/testdata/azure/azure-lite-schema-additional-params-eu-reduced.json +++ b/internal/broker/testdata/azure/azure-lite-schema-additional-params-eu-reduced.json @@ -11,6 +11,7 @@ "oidc", "administrators" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "administrators": { diff --git a/internal/broker/testdata/azure/azure-lite-schema-additional-params-eu.json b/internal/broker/testdata/azure/azure-lite-schema-additional-params-eu.json index 62e646fd84..6fcd7549c1 100644 --- a/internal/broker/testdata/azure/azure-lite-schema-additional-params-eu.json +++ b/internal/broker/testdata/azure/azure-lite-schema-additional-params-eu.json @@ -12,6 +12,7 @@ "oidc", "administrators" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "administrators": { diff --git a/internal/broker/testdata/azure/azure-lite-schema-additional-params-reduced.json b/internal/broker/testdata/azure/azure-lite-schema-additional-params-reduced.json index b212d9aae6..e1bfcbf2c5 100644 --- a/internal/broker/testdata/azure/azure-lite-schema-additional-params-reduced.json +++ b/internal/broker/testdata/azure/azure-lite-schema-additional-params-reduced.json @@ -11,6 +11,7 @@ "oidc", "administrators" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "administrators": { diff --git a/internal/broker/testdata/azure/azure-lite-schema-additional-params.json b/internal/broker/testdata/azure/azure-lite-schema-additional-params.json index 818e6599e6..e0e0d5e2f7 100644 --- a/internal/broker/testdata/azure/azure-lite-schema-additional-params.json +++ b/internal/broker/testdata/azure/azure-lite-schema-additional-params.json @@ -12,6 +12,7 @@ "oidc", "administrators" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "administrators": { diff --git a/internal/broker/testdata/azure/azure-lite-schema-eu-reduced.json b/internal/broker/testdata/azure/azure-lite-schema-eu-reduced.json index 171ec2091a..15bfefba3b 100644 --- a/internal/broker/testdata/azure/azure-lite-schema-eu-reduced.json +++ b/internal/broker/testdata/azure/azure-lite-schema-eu-reduced.json @@ -9,6 +9,7 @@ "modules", "networking" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "autoScalerMax": { diff --git a/internal/broker/testdata/azure/azure-lite-schema-eu.json b/internal/broker/testdata/azure/azure-lite-schema-eu.json index 193203c83a..87fa732382 100644 --- a/internal/broker/testdata/azure/azure-lite-schema-eu.json +++ b/internal/broker/testdata/azure/azure-lite-schema-eu.json @@ -9,6 +9,7 @@ "modules", "networking" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "autoScalerMax": { diff --git a/internal/broker/testdata/azure/azure-lite-schema-reduced.json b/internal/broker/testdata/azure/azure-lite-schema-reduced.json index 2a568ca675..540b4ba823 100644 --- a/internal/broker/testdata/azure/azure-lite-schema-reduced.json +++ b/internal/broker/testdata/azure/azure-lite-schema-reduced.json @@ -9,6 +9,7 @@ "modules", "networking" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "autoScalerMax": { diff --git a/internal/broker/testdata/azure/azure-lite-schema.json b/internal/broker/testdata/azure/azure-lite-schema.json index bd6867c9e2..a3cec429c5 100644 --- a/internal/broker/testdata/azure/azure-lite-schema.json +++ b/internal/broker/testdata/azure/azure-lite-schema.json @@ -9,6 +9,7 @@ "modules", "networking" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "autoScalerMax": { diff --git a/internal/broker/testdata/azure/azure-schema-additional-params-eu.json b/internal/broker/testdata/azure/azure-schema-additional-params-eu.json index eeece583a1..c75b970e43 100644 --- a/internal/broker/testdata/azure/azure-schema-additional-params-eu.json +++ b/internal/broker/testdata/azure/azure-schema-additional-params-eu.json @@ -12,6 +12,7 @@ "oidc", "administrators" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "administrators": { diff --git a/internal/broker/testdata/azure/azure-schema-additional-params.json b/internal/broker/testdata/azure/azure-schema-additional-params.json index 260d559ae9..f28e3c44b9 100644 --- a/internal/broker/testdata/azure/azure-schema-additional-params.json +++ b/internal/broker/testdata/azure/azure-schema-additional-params.json @@ -12,6 +12,7 @@ "oidc", "administrators" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "administrators": { diff --git a/internal/broker/testdata/azure/azure-schema-eu.json b/internal/broker/testdata/azure/azure-schema-eu.json index 858ece277b..c1cb199da8 100644 --- a/internal/broker/testdata/azure/azure-schema-eu.json +++ b/internal/broker/testdata/azure/azure-schema-eu.json @@ -9,6 +9,7 @@ "modules", "networking" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "autoScalerMax": { diff --git a/internal/broker/testdata/azure/azure-schema.json b/internal/broker/testdata/azure/azure-schema.json index 69653f3b4a..5f524c41ba 100644 --- a/internal/broker/testdata/azure/azure-schema.json +++ b/internal/broker/testdata/azure/azure-schema.json @@ -9,6 +9,7 @@ "modules", "networking" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "autoScalerMax": { diff --git a/internal/broker/testdata/azure/azure-trial-schema-additional-params.json b/internal/broker/testdata/azure/azure-trial-schema-additional-params.json index 91ac806ed2..552f20a030 100644 --- a/internal/broker/testdata/azure/azure-trial-schema-additional-params.json +++ b/internal/broker/testdata/azure/azure-trial-schema-additional-params.json @@ -6,6 +6,7 @@ "oidc", "administrators" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "administrators": { diff --git a/internal/broker/testdata/azure/azure-trial-schema.json b/internal/broker/testdata/azure/azure-trial-schema.json index 5ce6601834..f45de7f09c 100644 --- a/internal/broker/testdata/azure/azure-trial-schema.json +++ b/internal/broker/testdata/azure/azure-trial-schema.json @@ -4,6 +4,7 @@ "name", "modules" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "modules": { diff --git a/internal/broker/testdata/azure/free-azure-schema-additional-params-eu.json b/internal/broker/testdata/azure/free-azure-schema-additional-params-eu.json index 949d8d6d9e..0b51c9f9d6 100644 --- a/internal/broker/testdata/azure/free-azure-schema-additional-params-eu.json +++ b/internal/broker/testdata/azure/free-azure-schema-additional-params-eu.json @@ -8,6 +8,7 @@ "oidc", "administrators" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "administrators": { diff --git a/internal/broker/testdata/azure/free-azure-schema-additional-params.json b/internal/broker/testdata/azure/free-azure-schema-additional-params.json index 84d3a22d31..7f9707c199 100644 --- a/internal/broker/testdata/azure/free-azure-schema-additional-params.json +++ b/internal/broker/testdata/azure/free-azure-schema-additional-params.json @@ -8,6 +8,7 @@ "oidc", "administrators" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "administrators": { diff --git a/internal/broker/testdata/azure/free-azure-schema-eu.json b/internal/broker/testdata/azure/free-azure-schema-eu.json index 2eb3ba67f5..79b61c802d 100644 --- a/internal/broker/testdata/azure/free-azure-schema-eu.json +++ b/internal/broker/testdata/azure/free-azure-schema-eu.json @@ -6,6 +6,7 @@ "modules", "networking" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "modules": { diff --git a/internal/broker/testdata/azure/free-azure-schema.json b/internal/broker/testdata/azure/free-azure-schema.json index 0d3bbf738c..b27bdfe4b0 100644 --- a/internal/broker/testdata/azure/free-azure-schema.json +++ b/internal/broker/testdata/azure/free-azure-schema.json @@ -6,6 +6,7 @@ "modules", "networking" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "modules": { diff --git a/internal/broker/testdata/azure/update-azure-lite-schema-additional-params-reduced.json b/internal/broker/testdata/azure/update-azure-lite-schema-additional-params-reduced.json index 0ad6206f7f..1ca1397b09 100644 --- a/internal/broker/testdata/azure/update-azure-lite-schema-additional-params-reduced.json +++ b/internal/broker/testdata/azure/update-azure-lite-schema-additional-params-reduced.json @@ -7,6 +7,7 @@ "oidc", "administrators" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "administrators": { diff --git a/internal/broker/testdata/azure/update-azure-lite-schema-additional-params.json b/internal/broker/testdata/azure/update-azure-lite-schema-additional-params.json index 6bd91fcf39..018ce48a6f 100644 --- a/internal/broker/testdata/azure/update-azure-lite-schema-additional-params.json +++ b/internal/broker/testdata/azure/update-azure-lite-schema-additional-params.json @@ -7,6 +7,7 @@ "oidc", "administrators" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "administrators": { diff --git a/internal/broker/testdata/azure/update-azure-lite-schema-reduced.json b/internal/broker/testdata/azure/update-azure-lite-schema-reduced.json index 7d3af88f58..104cf6254f 100644 --- a/internal/broker/testdata/azure/update-azure-lite-schema-reduced.json +++ b/internal/broker/testdata/azure/update-azure-lite-schema-reduced.json @@ -5,6 +5,7 @@ "autoScalerMin", "autoScalerMax" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "autoScalerMax": { diff --git a/internal/broker/testdata/azure/update-azure-lite-schema.json b/internal/broker/testdata/azure/update-azure-lite-schema.json index 608624e17c..141007cccd 100644 --- a/internal/broker/testdata/azure/update-azure-lite-schema.json +++ b/internal/broker/testdata/azure/update-azure-lite-schema.json @@ -5,6 +5,7 @@ "autoScalerMin", "autoScalerMax" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "autoScalerMax": { diff --git a/internal/broker/testdata/azure/update-azure-schema-additional-params.json b/internal/broker/testdata/azure/update-azure-schema-additional-params.json index 13b500f8e7..2082ab8c60 100644 --- a/internal/broker/testdata/azure/update-azure-schema-additional-params.json +++ b/internal/broker/testdata/azure/update-azure-schema-additional-params.json @@ -7,6 +7,7 @@ "oidc", "administrators" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "administrators": { diff --git a/internal/broker/testdata/azure/update-azure-schema.json b/internal/broker/testdata/azure/update-azure-schema.json index 6d9207be2a..2281b2bf60 100644 --- a/internal/broker/testdata/azure/update-azure-schema.json +++ b/internal/broker/testdata/azure/update-azure-schema.json @@ -5,6 +5,7 @@ "autoScalerMin", "autoScalerMax" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "autoScalerMax": { diff --git a/internal/broker/testdata/azure/update-azure-trial-schema-additional-params.json b/internal/broker/testdata/azure/update-azure-trial-schema-additional-params.json index c135107dc3..f88b804ea4 100644 --- a/internal/broker/testdata/azure/update-azure-trial-schema-additional-params.json +++ b/internal/broker/testdata/azure/update-azure-trial-schema-additional-params.json @@ -4,6 +4,7 @@ "oidc", "administrators" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "administrators": { diff --git a/internal/broker/testdata/azure/update-free-azure-schema-additional-params.json b/internal/broker/testdata/azure/update-free-azure-schema-additional-params.json index c135107dc3..f88b804ea4 100644 --- a/internal/broker/testdata/azure/update-free-azure-schema-additional-params.json +++ b/internal/broker/testdata/azure/update-free-azure-schema-additional-params.json @@ -4,6 +4,7 @@ "oidc", "administrators" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "administrators": { diff --git a/internal/broker/testdata/gcp/gcp-schema-additional-params-assured-workloads.json b/internal/broker/testdata/gcp/gcp-schema-additional-params-assured-workloads.json index b551d81e67..2d2fd1acd3 100644 --- a/internal/broker/testdata/gcp/gcp-schema-additional-params-assured-workloads.json +++ b/internal/broker/testdata/gcp/gcp-schema-additional-params-assured-workloads.json @@ -12,6 +12,7 @@ "oidc", "administrators" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "administrators": { diff --git a/internal/broker/testdata/gcp/gcp-schema-additional-params.json b/internal/broker/testdata/gcp/gcp-schema-additional-params.json index 9040c626b7..dda094adcd 100644 --- a/internal/broker/testdata/gcp/gcp-schema-additional-params.json +++ b/internal/broker/testdata/gcp/gcp-schema-additional-params.json @@ -12,6 +12,7 @@ "oidc", "administrators" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "administrators": { diff --git a/internal/broker/testdata/gcp/gcp-schema-assured-workloads.json b/internal/broker/testdata/gcp/gcp-schema-assured-workloads.json index 13b2b7c284..ba785a3088 100644 --- a/internal/broker/testdata/gcp/gcp-schema-assured-workloads.json +++ b/internal/broker/testdata/gcp/gcp-schema-assured-workloads.json @@ -9,6 +9,7 @@ "modules", "networking" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "autoScalerMax": { diff --git a/internal/broker/testdata/gcp/gcp-schema.json b/internal/broker/testdata/gcp/gcp-schema.json index c62e0f1cde..25639294c9 100644 --- a/internal/broker/testdata/gcp/gcp-schema.json +++ b/internal/broker/testdata/gcp/gcp-schema.json @@ -9,6 +9,7 @@ "modules", "networking" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "autoScalerMax": { diff --git a/internal/broker/testdata/gcp/update-gcp-schema-additional-params.json b/internal/broker/testdata/gcp/update-gcp-schema-additional-params.json index c405a0dcdf..f163a417b2 100644 --- a/internal/broker/testdata/gcp/update-gcp-schema-additional-params.json +++ b/internal/broker/testdata/gcp/update-gcp-schema-additional-params.json @@ -7,6 +7,7 @@ "oidc", "administrators" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "administrators": { diff --git a/internal/broker/testdata/gcp/update-gcp-schema.json b/internal/broker/testdata/gcp/update-gcp-schema.json index 71eab32cdf..ade4f46e82 100644 --- a/internal/broker/testdata/gcp/update-gcp-schema.json +++ b/internal/broker/testdata/gcp/update-gcp-schema.json @@ -5,6 +5,7 @@ "autoScalerMin", "autoScalerMax" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "autoScalerMax": { diff --git a/internal/broker/testdata/own-cluster-schema-additional-params.json b/internal/broker/testdata/own-cluster-schema-additional-params.json index 1c1226149c..3722461d56 100644 --- a/internal/broker/testdata/own-cluster-schema-additional-params.json +++ b/internal/broker/testdata/own-cluster-schema-additional-params.json @@ -7,6 +7,7 @@ "shootDomain", "modules" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "kubeconfig": { diff --git a/internal/broker/testdata/own-cluster-schema.json b/internal/broker/testdata/own-cluster-schema.json index 1c1226149c..3722461d56 100644 --- a/internal/broker/testdata/own-cluster-schema.json +++ b/internal/broker/testdata/own-cluster-schema.json @@ -7,6 +7,7 @@ "shootDomain", "modules" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "kubeconfig": { diff --git a/internal/broker/testdata/sap-converged-cloud/sap-converged-cloud-schema-additional-params.json b/internal/broker/testdata/sap-converged-cloud/sap-converged-cloud-schema-additional-params.json index ebdbd88161..9ef941260b 100644 --- a/internal/broker/testdata/sap-converged-cloud/sap-converged-cloud-schema-additional-params.json +++ b/internal/broker/testdata/sap-converged-cloud/sap-converged-cloud-schema-additional-params.json @@ -12,6 +12,7 @@ "oidc", "administrators" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "administrators": { diff --git a/internal/broker/testdata/sap-converged-cloud/sap-converged-cloud-schema.json b/internal/broker/testdata/sap-converged-cloud/sap-converged-cloud-schema.json index a1cd7c8062..8ee2124287 100644 --- a/internal/broker/testdata/sap-converged-cloud/sap-converged-cloud-schema.json +++ b/internal/broker/testdata/sap-converged-cloud/sap-converged-cloud-schema.json @@ -9,6 +9,7 @@ "modules", "networking" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "autoScalerMax": { diff --git a/internal/broker/testdata/sap-converged-cloud/update-sap-converged-cloud-schema-additional-params.json b/internal/broker/testdata/sap-converged-cloud/update-sap-converged-cloud-schema-additional-params.json index 81ddc80553..67219e41ab 100644 --- a/internal/broker/testdata/sap-converged-cloud/update-sap-converged-cloud-schema-additional-params.json +++ b/internal/broker/testdata/sap-converged-cloud/update-sap-converged-cloud-schema-additional-params.json @@ -7,6 +7,7 @@ "oidc", "administrators" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "administrators": { diff --git a/internal/broker/testdata/sap-converged-cloud/update-sap-converged-cloud-schema.json b/internal/broker/testdata/sap-converged-cloud/update-sap-converged-cloud-schema.json index 368109d4cc..e02da7d58e 100644 --- a/internal/broker/testdata/sap-converged-cloud/update-sap-converged-cloud-schema.json +++ b/internal/broker/testdata/sap-converged-cloud/update-sap-converged-cloud-schema.json @@ -5,6 +5,7 @@ "autoScalerMin", "autoScalerMax" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "autoScalerMax": { diff --git a/internal/broker/testdata/update-own-cluster-schema-additional-params.json b/internal/broker/testdata/update-own-cluster-schema-additional-params.json index 5a4b9d3322..33081110e1 100644 --- a/internal/broker/testdata/update-own-cluster-schema-additional-params.json +++ b/internal/broker/testdata/update-own-cluster-schema-additional-params.json @@ -3,6 +3,7 @@ "_controlsOrder": [ "kubeconfig" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "kubeconfig": { diff --git a/internal/broker/testdata/update-own-cluster-schema.json b/internal/broker/testdata/update-own-cluster-schema.json index 5a4b9d3322..33081110e1 100644 --- a/internal/broker/testdata/update-own-cluster-schema.json +++ b/internal/broker/testdata/update-own-cluster-schema.json @@ -3,6 +3,7 @@ "_controlsOrder": [ "kubeconfig" ], + "_load_current_config": true, "_show_form_view": true, "properties": { "kubeconfig": {