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