Skip to content

Commit

Permalink
Image path implemented based on deployment type (#202)
Browse files Browse the repository at this point in the history
  • Loading branch information
rahuldsce authored Mar 28, 2020
1 parent da5e531 commit f001d27
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/sites/siteFour/apps/appReg.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ class ClusterInstReg extends React.Component {
if (form.field === fields.imageType) {
form.value = currentForm.value === constant.DEPLOYMENT_TYPE_VM ? 'Qcow' : 'Docker'
}
else if (form.field === fields.imagePath) {
form.value = currentForm.value === constant.DEPLOYMENT_TYPE_VM ? 'https://artifactory.mobiledgex.net/artifactory/repo-NewDevOrg' : 'docker.mobiledgex.net/newdevorg/images/server-ping-threaded:5.0'
}
else if (form.field === fields.scaleWithCluster) {
form.visible = currentForm.value === constant.DEPLOYMENT_TYPE_KUBERNETES ? true : false
}
Expand Down

0 comments on commit f001d27

Please sign in to comment.