I'm incrementally trying get sonarqube deployed us...
# kubernetes
f
I'm incrementally trying get sonarqube deployed using their helm chart via pulumi/c#. When I supply the values in a yaml file with hardcoded values on the command line, it works successfully. When I try to use pulumi, with the following code I receive the following error:
Copy code
new ChartArgs
{
    Repo = "oteemocharts",
    Chart = "sonarqube",
    Namespace = namespaceName,

    Values =
        {
            {  "image", new { tag = "8.3-community" } },
            {
                "postgresql",
                new
                {
                    enabled = false,
                    postgresqlServer = postgresqlServer.Fqdn,
                    postgresqlPassword = postgresqlPassword.Result,
                    postgresqlDatabase = postgresqlDatabase.Name,
                    postgresqlUsername = Output.Format( $"{postgresqlServer.AdministratorLogin}@{postgresqlServer.Name}" )
                }
            },
Copy code
Diagnostics:
  kubernetes:helm.sh:Chart (helm-sonarqube):
    error: Pulumi.ResourceException: coalesce.go:195: warning: destination for postgresqlDatabase is a table. Ignoring non-table value sonarDB
    coalesce.go:195: warning: destination for postgresqlPassword is a table. Ignoring non-table value sonarPass
    coalesce.go:195: warning: destination for postgresqlDatabase is a table. Ignoring non-table value sonarDB
    coalesce.go:195: warning: destination for postgresqlPassword is a table. Ignoring non-table value sonarPass
    Error: template: sonarqube/templates/secret.yaml:14:66: executing "sonarqube/templates/secret.yaml" at <b64enc>: wrong type for value; expected string; got map[string]interface {}
Anyone have ideas what I'm doing wrong?