https://pulumi.com logo
#golang
Title
# golang
b

brash-painting-89833

04/19/2023, 5:58 AM
This example https://www.pulumi.com/registry/packages/kubernetes/api-docs/helm/v3/release/#specify-helm-chart-values-in-file-and-code does not work =/ this is the error i am strugling:
Copy code
./main.go:15:20: cannot use pulumi.NewFileAsset("./metrics.yml") (value of type pulumi.Asset) as pulumi.AssetOrArchiveArrayInput value in struct literal: pulumi.Asset does not implement pulumi.AssetOrArchiveArrayInput (missing method ToAssetOrArchiveArrayOutput)
any tips?
guess this worked:
valuesYaml := pulumi.AssetOrArchiveArrayInput(pulumi.AssetOrArchiveArray{pulumi.NewFileAsset("values.yml")})