| Giorgi Lekveishvili | e009a5d | 2024-01-05 14:10:11 +0400 | [diff] [blame] | 1 | input: { |
| 2 | name: string |
| 3 | from: string |
| 4 | to: string |
| 5 | autoAssign: bool | *false |
| 6 | namespace: string |
| 7 | } |
| 8 | |
| Giorgi Lekveishvili | 08af67a | 2024-01-18 08:53:05 +0400 | [diff] [blame^] | 9 | namespace: "metallb-ipaddresspool" |
| 10 | |
| Giorgi Lekveishvili | e009a5d | 2024-01-05 14:10:11 +0400 | [diff] [blame] | 11 | images: {} |
| 12 | |
| 13 | charts: { |
| 14 | metallbIPAddressPool: { |
| 15 | chart: "charts/metallb-ipaddresspool" |
| 16 | sourceRef: { |
| 17 | kind: "GitRepository" |
| 18 | name: "pcloud" |
| 19 | namespace: global.pcloudEnvName // TODO(gio): id ? |
| 20 | } |
| 21 | } |
| 22 | } |
| 23 | |
| 24 | helm: { |
| 25 | "metallb-ipaddresspool-\(input.name)": { |
| 26 | chart: charts.metallbIPAddressPool |
| 27 | values: { |
| 28 | name: input.name |
| 29 | from: input.from |
| 30 | to: input.to |
| 31 | autoAssign: input.autoAssign |
| 32 | namespace: input.namespace |
| 33 | } |
| 34 | } |
| 35 | } |