| Giorgi Lekveishvili | e009a5d | 2024-01-05 14:10:11 +0400 | [diff] [blame] | 1 | input: { |
| 2 | subdomain: string |
| 3 | adminKey: string |
| 4 | } |
| 5 | |
| 6 | _domain: "\(input.subdomain).\(global.privateDomain)" |
| 7 | |
| 8 | readme: "softserve application will be installed on private network and be accessible to any user on https://\(_domain)" // TODO(gio): make public network an option |
| 9 | |
| 10 | images: { |
| 11 | softserve: { |
| 12 | repository: "charmcli" |
| 13 | name: "soft-serve" |
| 14 | tag: "v0.7.1" |
| 15 | pullPolicy: "IfNotPresent" |
| 16 | } |
| 17 | } |
| 18 | |
| 19 | charts: { |
| 20 | softserve: { |
| 21 | chart: "charts/soft-serve" |
| 22 | sourceRef: { |
| 23 | kind: "GitRepository" |
| 24 | name: "pcloud" |
| 25 | namespace: global.id |
| 26 | } |
| 27 | } |
| 28 | } |
| 29 | |
| 30 | helm: { |
| 31 | softserve: { |
| 32 | chart: charts.softserve |
| 33 | values: { |
| 34 | serviceType: "LoadBalancer" |
| 35 | reservedIP: "" |
| 36 | addressPool: global.id |
| 37 | adminKey: input.adminKey |
| 38 | privateKey: "" |
| 39 | publicKey: "" |
| 40 | ingress: { |
| 41 | enabled: false |
| 42 | } |
| 43 | image: { |
| 44 | repository: images.softserve.fullName |
| 45 | tag: images.softserve.tag |
| 46 | pullPolicy: images.softserve.pullPolicy |
| 47 | } |
| 48 | } |
| 49 | } |
| 50 | } |