blob: 2abd8b2c07156666cf8fda71b9dbf08231ad1785 [file] [log] [blame]
Giorgi Lekveishvilie009a5d2024-01-05 14:10:11 +04001import (
2 "encoding/base64"
3)
4
5input: {
6 repoAddr: string
7 sshPrivateKey: string
Giorgi Lekveishvilie009a5d2024-01-05 14:10:11 +04008}
9
Giorgi Lekveishvili03d6f4b2024-03-08 13:05:21 +040010name: "welcome"
11namespace: "app-welcome"
12
Giorgi Lekveishvilie009a5d2024-01-05 14:10:11 +040013images: {
14 welcome: {
15 repository: "giolekva"
16 name: "pcloud-installer"
17 tag: "latest"
18 pullPolicy: "Always"
19 }
20}
21
22charts: {
23 welcome: {
giof8843412024-05-22 16:38:05 +040024 kind: "GitRepository"
25 address: "https://github.com/giolekva/pcloud.git"
26 branch: "main"
27 path: "charts/welcome"
Giorgi Lekveishvilie009a5d2024-01-05 14:10:11 +040028 }
29}
30
31helm: {
32 welcome: {
33 chart: charts.welcome
34 values: {
35 repoAddr: input.repoAddr
36 sshPrivateKey: base64.Encode(null, input.sshPrivateKey)
37 createAccountAddr: "http://api.\(global.namespacePrefix)core-auth.svc.cluster.local/identities"
Davit Tabidze56f86a42024-04-09 19:15:25 +040038 loginAddr: "https://launcher.\(global.domain)"
Giorgi Lekveishvili329af572024-03-25 20:14:41 +040039 membershipsInitAddr: "http://memberships-api.\(global.namespacePrefix)core-auth-memberships.svc.cluster.local/api/init"
Giorgi Lekveishvilie009a5d2024-01-05 14:10:11 +040040 ingress: {
gioe72b54f2024-04-22 10:44:41 +040041 className: ingressPublic
Giorgi Lekveishvilie009a5d2024-01-05 14:10:11 +040042 domain: "welcome.\(global.domain)"
gioe72b54f2024-04-22 10:44:41 +040043 certificateIssuer: issuerPublic
Giorgi Lekveishvilie009a5d2024-01-05 14:10:11 +040044 }
45 clusterRoleName: "\(global.id)-welcome"
46 image: {
47 repository: images.welcome.fullName
48 tag: images.welcome.tag
49 pullPolicy: images.welcome.pullPolicy
50 }
51 }
52 }
53}