url-shortener: helm chart with cue config file (#89)

* added cue file for url-shortener

* added yaml files for url-shortener

* fixed yaml and cue for url-shortener

* port variable  fix

* cue minor fix

* added url-shortener into appstore svg change

* minor fixes

* version fix

* added url-shortener into app.go
diff --git a/core/installer/values-tmpl/url-shortener.cue b/core/installer/values-tmpl/url-shortener.cue
new file mode 100644
index 0000000..d2d7e84
--- /dev/null
+++ b/core/installer/values-tmpl/url-shortener.cue
@@ -0,0 +1,52 @@
+input: {
+    network: #Network
+    subdomain: string
+}
+
+_domain: "\(input.subdomain).\(input.network.domain)"
+
+name: "url-shortener"
+namespace: "app-url-shortener"
+readme: "URL shortener application will be installed on \(input.network.name) network and be accessible at https://\(_domain)"
+description: "Provides URL shortening service. Can be configured to be reachable only from private network or publicly."
+icon: "<svg xmlns='http://www.w3.org/2000/svg" width="40.63" height="50" viewBox="0 0 13 16"><circle cx="2" cy="10" r="1" fill="currentColor"/><circle cx="2" cy="6" r="1" fill="currentColor"/><path fill="currentColor" d="M4.5 14c-.06 0-.11 0-.17-.03a.501.501 0 0 1-.3-.64l4-11a.501.501 0 0 1 .94.34l-4 11c-.07.2-.27.33-.47.33m3 0c-.06 0-.11 0-.17-.03a.501.501 0 0 1-.3-.64l4-11a.501.501 0 0 1 .94.34l-4 11c-.07.2-.27.33-.47.33'/></svg>"
+
+images: {
+	urlShortener: {
+		repository: "giolekva"
+		name: "url-shortener"
+		tag: "latest"
+		pullPolicy: "Always"
+	}
+}
+
+charts: {
+    urlShortener: {
+        chart: "charts/url-shortener"
+        sourceRef: {
+            kind: "GitRepository"
+            name: "pcloud"
+            namespace: global.id
+        }
+    }
+}
+
+helm: {
+    "url-shortener": {
+        chart: charts.url-shortener
+        values: {
+            ingressClassName: input.network.ingressClass
+            certificateIssuer: input.network.certificateIssuer
+            domain: _domain
+            storage: {
+                size: "1Gi"
+            }
+            image: {
+				repository: images.urlShortener.fullName
+				tag: images.urlShortener.tag
+				pullPolicy: images.urlShortener.pullPolicy
+			}
+            port: 8080
+        }
+    }
+}