Open devantler opened 11 months ago
Could you refer to nodejs example in https://github.com/oun/pulumi-flux/blob/main/examples/nodejs/flux-bootstrap-git/index.ts ? Are you passing the right password for the ssh private key?
Sorry I newer answerered - I moved on from this and has since been using OCI as a source. This looks correct to me, and I am sure that I was passing the right password back then. Given the error I guess it might be mapping related to the C# provider . I have experienced this on other plugins.
File: themes/default/content/registry/packages/flux/_index.md
I am trying to configure a flux provider in C# to bootstrap my existing Flux files, but I am encountering a weird behaviour that might be a bug.
The code throws the following error:
error: cannot encode provider configuration to call ConfigureProvider: objectEncoder failed on property "git": objectEncoder failed on property "ssh": objectEncoder failed on property "password": Expected a string, got: {map[4dabf18193072939515e22adb298388d:{1b47061264138c4ac30d75fd1eb44270} value:{xxxx}]}
Would it be possible to add an example of configuring Flux with SSH and check if some misconfiguration has happened? I am wondering why the setter parsed my string values into maps.