| Giorgi Lekveishvili | e009a5d | 2024-01-05 14:10:11 +0400 | [diff] [blame] | 1 | input: { |
| gio | 44f621b | 2024-04-29 09:44:38 +0400 | [diff] [blame] | 2 | network: #Network @name(Network) |
| 3 | subdomain: string @name(Subdomain) |
| 4 | auth: #Auth @name(Authentication) |
| Giorgi Lekveishvili | 7c42760 | 2024-01-04 00:13:55 +0400 | [diff] [blame] | 5 | } |
| 6 | |
| Giorgi Lekveishvili | 7c42760 | 2024-01-04 00:13:55 +0400 | [diff] [blame] | 7 | _domain: "\(input.subdomain).\(input.network.domain)" |
| 8 | |
| gio | 44f621b | 2024-04-29 09:44:38 +0400 | [diff] [blame] | 9 | name: "rPuppy" |
| Giorgi Lekveishvili | ef21c13 | 2024-01-17 18:57:58 +0400 | [diff] [blame] | 10 | namespace: "app-rpuppy" |
| Giorgi Lekveishvili | 7c42760 | 2024-01-04 00:13:55 +0400 | [diff] [blame] | 11 | readme: "rpuppy application will be installed on \(input.network.name) network and be accessible to any user on https://\(_domain)" |
| Giorgi Lekveishvili | ef21c13 | 2024-01-17 18:57:58 +0400 | [diff] [blame] | 12 | description: "Delights users with randomly generate puppy pictures. Can be configured to be reachable only from private network or publicly." |
| 13 | icon: "<svg xmlns='http://www.w3.org/2000/svg' width='50' height='50' viewBox='0 0 256 256'><path fill='currentColor' d='M100 140a8 8 0 1 1-8-8a8 8 0 0 1 8 8Zm64 8a8 8 0 1 0-8-8a8 8 0 0 0 8 8Zm64.94-9.11a12.12 12.12 0 0 1-5 1.11a11.83 11.83 0 0 1-9.35-4.62l-2.59-3.29V184a36 36 0 0 1-36 36H80a36 36 0 0 1-36-36v-51.91l-2.53 3.27A11.88 11.88 0 0 1 32.1 140a12.08 12.08 0 0 1-5-1.11a11.82 11.82 0 0 1-6.84-13.14l16.42-88a12 12 0 0 1 14.7-9.43h.16L104.58 44h46.84l53.08-15.6h.16a12 12 0 0 1 14.7 9.43l16.42 88a11.81 11.81 0 0 1-6.84 13.06ZM97.25 50.18L49.34 36.1a4.18 4.18 0 0 0-.92-.1a4 4 0 0 0-3.92 3.26l-16.42 88a4 4 0 0 0 7.08 3.22ZM204 121.75L150 52h-44l-54 69.75V184a28 28 0 0 0 28 28h44v-18.34l-14.83-14.83a4 4 0 0 1 5.66-5.66L128 186.34l13.17-13.17a4 4 0 0 1 5.66 5.66L132 193.66V212h44a28 28 0 0 0 28-28Zm23.92 5.48l-16.42-88a4 4 0 0 0-4.84-3.16l-47.91 14.11l62.11 80.28a4 4 0 0 0 7.06-3.23Z'/></svg>" |
| Giorgi Lekveishvili | 7c42760 | 2024-01-04 00:13:55 +0400 | [diff] [blame] | 14 | |
| Giorgi Lekveishvili | 6738396 | 2024-03-22 19:27:34 +0400 | [diff] [blame] | 15 | _httpPortName: "http" |
| 16 | |
| gio | 1de4958 | 2024-04-21 08:33:57 +0400 | [diff] [blame] | 17 | ingress: { |
| 18 | rpuppy: { |
| Giorgi Lekveishvili | 6738396 | 2024-03-22 19:27:34 +0400 | [diff] [blame] | 19 | auth: input.auth |
| 20 | network: input.network |
| 21 | subdomain: input.subdomain |
| gio | 1de4958 | 2024-04-21 08:33:57 +0400 | [diff] [blame] | 22 | service: { |
| 23 | name: "rpuppy" |
| 24 | port: name: _httpPortName |
| 25 | } |
| Giorgi Lekveishvili | 6738396 | 2024-03-22 19:27:34 +0400 | [diff] [blame] | 26 | } |
| 27 | } |
| 28 | |
| gio | 1de4958 | 2024-04-21 08:33:57 +0400 | [diff] [blame] | 29 | images: { |
| Giorgi Lekveishvili | 7c42760 | 2024-01-04 00:13:55 +0400 | [diff] [blame] | 30 | rpuppy: { |
| 31 | repository: "giolekva" |
| 32 | name: "rpuppy" |
| 33 | tag: "latest" |
| 34 | pullPolicy: "Always" |
| 35 | } |
| 36 | } |
| 37 | |
| gio | 1de4958 | 2024-04-21 08:33:57 +0400 | [diff] [blame] | 38 | charts: { |
| Giorgi Lekveishvili | 7c42760 | 2024-01-04 00:13:55 +0400 | [diff] [blame] | 39 | rpuppy: { |
| gio | f884341 | 2024-05-22 16:38:05 +0400 | [diff] [blame] | 40 | kind: "GitRepository" |
| 41 | address: "https://github.com/giolekva/pcloud.git" |
| 42 | branch: "main" |
| 43 | path: "charts/rpuppy" |
| Giorgi Lekveishvili | 7c42760 | 2024-01-04 00:13:55 +0400 | [diff] [blame] | 44 | } |
| 45 | } |
| 46 | |
| gio | 1de4958 | 2024-04-21 08:33:57 +0400 | [diff] [blame] | 47 | helm: { |
| Giorgi Lekveishvili | 7c42760 | 2024-01-04 00:13:55 +0400 | [diff] [blame] | 48 | rpuppy: { |
| 49 | chart: charts.rpuppy |
| gio | f9f0bee | 2024-06-11 20:10:05 +0400 | [diff] [blame^] | 50 | info: "Installing rPuppy server" |
| Giorgi Lekveishvili | 7c42760 | 2024-01-04 00:13:55 +0400 | [diff] [blame] | 51 | values: { |
| Giorgi Lekveishvili | 7c42760 | 2024-01-04 00:13:55 +0400 | [diff] [blame] | 52 | image: { |
| 53 | repository: images.rpuppy.fullName |
| 54 | tag: images.rpuppy.tag |
| 55 | pullPolicy: images.rpuppy.pullPolicy |
| 56 | } |
| Giorgi Lekveishvili | 0ba5e40 | 2024-03-20 15:56:30 +0400 | [diff] [blame] | 57 | portName: _httpPortName |
| 58 | } |
| 59 | } |
| Giorgi Lekveishvili | 7c42760 | 2024-01-04 00:13:55 +0400 | [diff] [blame] | 60 | } |
| gio | 09a3e5b | 2024-04-26 14:11:06 +0400 | [diff] [blame] | 61 | |
| 62 | url: "https://\(_domain)" |