https://pulumi.com logo
#kubernetes
Title
# kubernetes
e

eager-pillow-75917

04/22/2020, 12:46 PM
hi, I want to deploy a chart from a repo, not local, but I want to use a values.yaml file to replace some values. How do I do that?
this is pretty common. And I dont want to pass the entire values.yaml file as an object in the
values
property.
q

quiet-wolf-18467

04/22/2020, 1:13 PM
The values you provide when using Pulumi's Helm class is merged with the default values specified in the charts repository
Copy code
const helmRelease = new k8s.helm.v3.Chart(
    "argocd-helm-release",
    {
      namespace: namespace.metadata.name,
      repo: "argo",
      chart: "argo-cd",
      version: "2.2.7",
      values: {
        fullnameOverride: "argocd",
      }
    });
e

eager-pillow-75917

04/22/2020, 5:42 PM
that is not what I asked
anyway, I am using
js-yaml
, to read my values.yaml file and pass it to the
values
property as an object.
4 Views