https://pulumi.com logo
h

hundreds-portugal-17080

01/03/2020, 6:43 PM
I have a a stable helm chart (airflow) https://github.com/helm/charts/blob/master/stable/airflow/values.yaml. I am able to override values in pulumi code when the values.yaml has a map, array, string etc. How can I override affinity which needs new line and indentation ?
g

gorgeous-egg-16927

01/03/2020, 6:55 PM
Should be able to use a raw string with backticks
Copy code
`affinity:
  nodeAffinity: 
    requiredDuringSchedulingIgnoredDuringExecution:
      nodeSelectorTerms:
      - matchExpressions:
        - key: clusterType
          operator: In
          values:
          - standard`
h

hundreds-portugal-17080

01/03/2020, 7:40 PM
thank you. it worked.
9 Views