fast-dinner-32080
03/14/2020, 8:22 PMSystem.InvalidOperationException: dictionary contains invalid type System.Object.
I see you merged a fix https://github.com/pulumi/pulumi/pull/4023 but I am unsure how to make sure I am using the version that includes this. I have v1.12.1 installed and using kubernetes plugin/nuget 1.6.0-alpha.1583869930+g9c001ff9tall-librarian-49374
03/14/2020, 8:30 PMfast-dinner-32080
03/14/2020, 9:57 PMvar rancherHelmRelease = new Pulumi.Kubernetes.Helm.V3.Chart("rancher",
new ChartArgs
{
Chart = "rancher",
Version = args.RancherVersion,
Namespace = cattleSystemNamespace.Metadata.Apply(x => x.Name),
Values =
{
{"ingress.tls.source", "external"},
{"tls", "external"},
{"hostname", args.RancherDns},
{"debug", args.RancherEnableDebug},
{"replicas", 3}
},
FetchOptions = new ChartFetchArgs
{
Repo = "<https://releases.rancher.com/server-charts/stable>"
}
},
new ComponentResourceOptions
{
Provider = kubernetesProvider
});
error: Running program '/repos/pulumi-projects/rancher-server-cluster/bin/Debug/netcoreapp3.1/rancher-server-cluster.dll' failed with an unhandled exception:
System.InvalidOperationException: dictionary contains invalid type System.Object. Allowed types are:
String, Boolean, Int32, Double,
Nullable<...>, ImmutableArray<...> and ImmutableDictionary<string, ...> or
a class explicitly marked with the [OutputTypeAttribute].
at Pulumi.Serialization.Converter.CheckTargetType(String context, Type targetType, HashSet`1 seenTypes)
at Pulumi.Serialization.Converter.CheckTargetType(String context, Type targetType, HashSet`1 seenTypes)
at Pulumi.DictionaryResourceArgs..ctor(ImmutableDictionary`2 dictionary)
at Pulumi.Kubernetes.KubernetesResource..ctor(String type, String name, ImmutableDictionary`2 dictionary, CustomResourceOptions options)
at Pulumi.Kubernetes.Rbac.V1.ClusterRoleBinding..ctor(String name, ImmutableDictionary`2 dictionary, CustomResourceOptions options)
at Pulumi.Kubernetes.Yaml.Parser.<>c__DisplayClass3_0.<ParseYamlObject>b__144(String id)
at Pulumi.Output`1.<>c__DisplayClass12_0`1.<Apply>b__0(T t)
at Pulumi.Output`1.ApplyHelperAsync[U](Task`1 dataTask, Func`2 func)
at Pulumi.Output`1.AllHelperAsync(ImmutableArray`1 inputs)
at Pulumi.Output`1.ApplyHelperAsync[U](Task`1 dataTask, Func`2 func)
at Pulumi.Output`1.ApplyHelperAsync[U](Task`1 dataTask, Func`2 func)
at Pulumi.Output`1.<TupleHelperAsync>g__GetData|20_0[T1,T2,T3,T4,T5,T6,T7,T8,X](Input`1 input)
at Pulumi.Output`1.TupleHelperAsync[T1,T2,T3,T4,T5,T6,T7,T8](Input`1 item1, Input`1 item2, Input`1 item3, Input`1 item4, Input`1 item5, Input`1 item6, Input`1 item7, Input`1 item8)
at Pulumi.Output`1.ApplyHelperAsync[U](Task`1 dataTask, Func`2 func)
at Pulumi.Output`1.ApplyHelperAsync[U](Task`1 dataTask, Func`2 func)
at Pulumi.Output`1.ApplyHelperAsync[U](Task`1 dataTask, Func`2 func)
at Pulumi.Output`1.ApplyHelperAsync[U](Task`1 dataTask, Func`2 func)
at Pulumi.Output`1.Pulumi.IOutput.GetDataAsync()
at Pulumi.Serialization.Serializer.SerializeAsync(String ctx, Object prop)
at Pulumi.Deployment.SerializeFilteredPropertiesAsync(String label, IDictionary`2 args, Predicate`1 acceptKey)
at Pulumi.Deployment.SerializeAllPropertiesAsync(String label, IDictionary`2 args)
at Pulumi.Deployment.RegisterResourceOutputsAsync(Resource resource, Output`1 outputs)
at Pulumi.Deployment.Runner.WhileRunningAsync()
tall-librarian-49374
03/14/2020, 10:27 PM