blob: a3f6d3bdc9b54cd9204469c9af4e36a3f9ced090 [file] [log] [blame]
DTabidze09935812024-03-13 13:47:39 +04001input: {
2 network: #Network
3 subdomain: string
4}
5
6_domain: "\(input.subdomain).\(input.network.domain)"
7
8name: "url-shortener"
9namespace: "app-url-shortener"
10readme: "URL shortener application will be installed on \(input.network.name) network and be accessible at https://\(_domain)"
11description: "Provides URL shortening service. Can be configured to be reachable only from private network or publicly."
Giorgi Lekveishvilib4fcaa22024-03-13 16:34:49 +040012icon: "<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>"
DTabidze09935812024-03-13 13:47:39 +040013
14images: {
15 urlShortener: {
16 repository: "giolekva"
17 name: "url-shortener"
18 tag: "latest"
19 pullPolicy: "Always"
20 }
21}
22
23charts: {
24 urlShortener: {
25 chart: "charts/url-shortener"
26 sourceRef: {
27 kind: "GitRepository"
28 name: "pcloud"
29 namespace: global.id
30 }
31 }
32}
33
34helm: {
35 "url-shortener": {
Giorgi Lekveishvilib4fcaa22024-03-13 16:34:49 +040036 chart: charts.urlShortener
DTabidze09935812024-03-13 13:47:39 +040037 values: {
38 ingressClassName: input.network.ingressClass
39 certificateIssuer: input.network.certificateIssuer
40 domain: _domain
41 storage: {
42 size: "1Gi"
43 }
44 image: {
45 repository: images.urlShortener.fullName
46 tag: images.urlShortener.tag
47 pullPolicy: images.urlShortener.pullPolicy
48 }
49 port: 8080
50 }
51 }
52}