sparse-intern-71089
02/20/2023, 9:26 PMbillowy-army-68599
white-forest-65475
02/20/2023, 9:33 PMbillowy-army-68599
billowy-army-68599
ConfigFile
resource for install CRDs, everything else you can pipe through kube2pulumi
white-forest-65475
02/20/2023, 9:35 PMbillowy-army-68599
kube2pulumi
on that install manifestwhite-forest-65475
02/20/2023, 9:56 PMkube2pulumi
has a bug related to lists of objects with only one key:
❯ kube2pulumi python -f not-crds.yaml
Error: Error: Missing item separator
on pcl-1017078102.pp line 1301:
1298: ports = [
1299: {
1300: containerPort = 5556
1301: }
1302: {
Expected a comma to mark the beginning of the next item.
The relevant section seems to be:
ports:
- containerPort: 5556
- containerPort: 5557
- containerPort: 5558
If I change this to:
ports:
- containerPort: 5556
name: foo
- containerPort: 5557
name: bar
- containerPort: 5558
name: baz
then processing proceeds to the next section where this construct exists.billowy-army-68599
white-forest-65475
02/20/2023, 9:56 PMwhite-forest-65475
02/20/2023, 9:58 PMminikube tunnel
and localhostbillowy-army-68599