| Giorgi Lekveishvili | e009a5d | 2024-01-05 14:10:11 +0400 | [diff] [blame] | 1 | import ( |
| 2 | "encoding/base64" |
| 3 | ) |
| 4 | |
| 5 | input: { |
| 6 | repoAddr: string |
| 7 | sshPrivateKey: string |
| Giorgi Lekveishvili | e009a5d | 2024-01-05 14:10:11 +0400 | [diff] [blame] | 8 | } |
| 9 | |
| Giorgi Lekveishvili | 03d6f4b | 2024-03-08 13:05:21 +0400 | [diff] [blame] | 10 | name: "welcome" |
| 11 | namespace: "app-welcome" |
| 12 | |
| Giorgi Lekveishvili | e009a5d | 2024-01-05 14:10:11 +0400 | [diff] [blame] | 13 | images: { |
| 14 | welcome: { |
| 15 | repository: "giolekva" |
| 16 | name: "pcloud-installer" |
| 17 | tag: "latest" |
| 18 | pullPolicy: "Always" |
| 19 | } |
| 20 | } |
| 21 | |
| 22 | charts: { |
| 23 | welcome: { |
| 24 | chart: "charts/welcome" |
| 25 | sourceRef: { |
| 26 | kind: "GitRepository" |
| 27 | name: "pcloud" |
| 28 | namespace: global.id |
| 29 | } |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | helm: { |
| 34 | welcome: { |
| 35 | chart: charts.welcome |
| 36 | values: { |
| 37 | repoAddr: input.repoAddr |
| 38 | sshPrivateKey: base64.Encode(null, input.sshPrivateKey) |
| 39 | createAccountAddr: "http://api.\(global.namespacePrefix)core-auth.svc.cluster.local/identities" |
| Davit Tabidze | 56f86a4 | 2024-04-09 19:15:25 +0400 | [diff] [blame^] | 40 | loginAddr: "https://launcher.\(global.domain)" |
| Giorgi Lekveishvili | 329af57 | 2024-03-25 20:14:41 +0400 | [diff] [blame] | 41 | membershipsInitAddr: "http://memberships-api.\(global.namespacePrefix)core-auth-memberships.svc.cluster.local/api/init" |
| Giorgi Lekveishvili | e009a5d | 2024-01-05 14:10:11 +0400 | [diff] [blame] | 42 | ingress: { |
| 43 | className: _ingressPublic |
| 44 | domain: "welcome.\(global.domain)" |
| 45 | certificateIssuer: _issuerPublic |
| 46 | } |
| 47 | clusterRoleName: "\(global.id)-welcome" |
| 48 | image: { |
| 49 | repository: images.welcome.fullName |
| 50 | tag: images.welcome.tag |
| 51 | pullPolicy: images.welcome.pullPolicy |
| 52 | } |
| 53 | } |
| 54 | } |
| 55 | } |