Provisioning: Allow disabling of image rendering instance wide (#111359)
This commit is contained in:
@@ -1750,6 +1750,14 @@ func schema_pkg_apis_provisioning_v0alpha1_RepositoryViewList(ref common.Referen
|
||||
},
|
||||
},
|
||||
},
|
||||
"allowImageRendering": {
|
||||
SchemaProps: spec.SchemaProps{
|
||||
Description: "Whether image rendering is allowed for dashboard previews",
|
||||
Default: false,
|
||||
Type: []string{"boolean"},
|
||||
Format: "",
|
||||
},
|
||||
},
|
||||
"availableRepositoryTypes": {
|
||||
SchemaProps: spec.SchemaProps{
|
||||
Description: "AvailableRepositoryTypes is the list of repository types supported in this instance (e.g. git, bitbucket, github, etc)",
|
||||
@@ -1785,7 +1793,7 @@ func schema_pkg_apis_provisioning_v0alpha1_RepositoryViewList(ref common.Referen
|
||||
},
|
||||
},
|
||||
},
|
||||
Required: []string{"items"},
|
||||
Required: []string{"allowImageRendering", "items"},
|
||||
},
|
||||
},
|
||||
Dependencies: []string{
|
||||
|
||||
Reference in New Issue
Block a user