| 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 | |
| 9 | images: {} |
| 10 | |
| 11 | charts: { |
| 12 | metallbIPAddressPool: { |
| 13 | chart: "charts/metallb-ipaddresspool" |
| 14 | sourceRef: { |
| 15 | kind: "GitRepository" |
| 16 | name: "pcloud" |
| 17 | namespace: global.pcloudEnvName // TODO(gio): id ? |
| 18 | } |
| 19 | } |
| 20 | } |
| 21 | |
| 22 | helm: { |
| 23 | "metallb-ipaddresspool-\(input.name)": { |
| 24 | chart: charts.metallbIPAddressPool |
| 25 | values: { |
| 26 | name: input.name |
| 27 | from: input.from |
| 28 | to: input.to |
| 29 | autoAssign: input.autoAssign |
| 30 | namespace: input.namespace |
| 31 | } |
| 32 | } |
| 33 | } |