AppManager: Add API endpoint to install dodo app
Refactors cue definitions.
Next steps:
* Needs some cleanup, namespace is hard coded ...
* Maybe merge with regular install API
* Support exposing ports across clusters
Change-Id: Ibfc3c3f742b61f2c5874012fe6c77b958eae81d9
diff --git a/core/installer/values-tmpl/url-shortener.cue b/core/installer/values-tmpl/url-shortener.cue
index 1fa70c4..9f401fb 100644
--- a/core/installer/values-tmpl/url-shortener.cue
+++ b/core/installer/values-tmpl/url-shortener.cue
@@ -69,7 +69,7 @@
}
}
- volumes: data: size: input.storageSize
+ volume: data: size: input.storageSize
helm: {
"url-shortener": {
@@ -82,7 +82,7 @@
pullPolicy: images.urlShortener.pullPolicy
}
portName: _httpPortName
- persistentVolumeClaimNama: volumes.data.name
+ persistentVolumeClaimNama: volume.data.name
requireAuth: input.auth.enabled
}
}