1108: Adding App designer/template admin settings

This commit is contained in:
usha-mandya 2019-06-11 14:29:34 +01:00
parent b6706f8b81
commit 69e5e78b02
2 changed files with 35 additions and 1 deletions

View File

@ -102,7 +102,20 @@ The following `admin-settings.json` code and table provide the required syntax a
"locked": false,
"value": null
}
}
},
"template" : {
"defaultOrg" : {"value": "myorg", "locked":true},
"defaultRegistry" : {"value": "mydtr:5000", "locked":true},
"repositories": {
"value": [
"https://one/library.yaml",
"https://two/library.yaml",
"https://three/library.yaml"
],
"locked" : true
}
},
}
```
@ -129,3 +142,7 @@ Parameter values and descriptions for environment configuration on Mac:
| `podNetworkCIDR` | This is currently unimplemented. `locked` must be set to true. |
| `serviceCIDR` | This is currently unimplemented. `locked` must be set to true. |
| (End of `kubernetes` section.) | |
|`template`|Parameters and settings related to Docker Template and Application Designer - grouped together in this example for convenience. For more information, see [`Docker template config`](/engine/reference/commandline/template_config/).|
|`defaultOrg`| Specifies the default organisation to be used in Docker Template and Docker Application Designer. If `locked` is set to `true`, the Kubernetes cluster starts when Docker Desktop Enterprise is started. |
|`defaultRegistry`|Specifies the default registry to be used in Docker Template and Application Designer.|
|`repositories`|Lists the repositories that are allowed.|

View File

@ -139,6 +139,19 @@ The following `admin-settings.json` code and table provide the required syntax a
}
},
"template" : {
"defaultOrg" : {"value": "myorg", "locked":true},
"defaultRegistry" : {"value": "mydtr:5000", "locked":true},
"repositories": {
"value": [
"https://one/library.yaml",
"https://two/library.yaml",
"https://three/library.yaml"
],
"locked" : true
}
},
"sharedDrives": {
"locked": true,
"value": [ ]
@ -178,5 +191,9 @@ Parameter values and descriptions for environment configuration on Windows:
| `podNetworkCIDR` | This is currently unimplemented. `locked` must be set to true. |
| `serviceCIDR` | This is currently unimplemented. `locked` must be set to true. |
| (End of `kubernetes` section.) | |
|`template`|Parameters and settings related to Docker Template and Application Designer - grouped together in this example for convenience. For more information, see [`Docker template config`](/engine/reference/commandline/template_config/).|
|`defaultOrg`| Specifies the default organisation to be used in Docker Template and Docker Application Designer. If `locked` is set to `true`, the Kubernetes cluster starts when Docker Desktop Enterprise is started. |
|`defaultRegistry`|Specifies the default registry to be used in Docker Template and Application Designer.|
|`repositories`|Lists the repositories that are allowed.|
| `sharedDrives` | If `sharedDrives` is set to `true`, this locks the drives users are allowed to share ( `["C", "D"]` ), but does not actually share drives by default (sharing a drive prompts the user for a password). `value` is a whitelist of drives that can be shared. **Warning:** Note that when updating this value, if you remove drives that have been shared, you must also `net share /delete` those drives. |
| `sharedFolders` | If specified, restricts the folders or named pipes the user is allowed to share with Windows containers. |