https://pulumi.com logo
#general
Title
# general
f

full-dress-10026

07/25/2019, 12:44 AM
If I want to modify a nested yaml string (e.g.
|-
) in a transformation (https://github.com/pulumi/pulumi-kubernetes/blob/4e61e0d307317a57c249ba599d206e5703f89be1/tests/integration/yaml-url/step1/index.ts#L22-L37), is there a way to easily do that?
For example:
Copy code
apiVersion: v1
kind: ConfigMap
metadata:
  name: honeycomb-agent-config
  namespace: default
data:
  config.yaml: |-
    # By default, submit logs from interesting system pods such as the
    # kube DNS
    watchers:
      - dataset: kubernetes-logs
        labelSelector: "k8s-app=aws-node"
        namespace: kube-system
        parser: glog
      - dataset: kubernetes-logs
        labelSelector: "k8s-app=kube-proxy"
        namespace: kube-system
        parser: glog
      - dataset: kubernetes-logs
        labelSelector: "k8s-app=kube-dns"
        namespace: kube-system
        parser: glog
    verbosity: info
    # splitLogging directs trace, debug, info, and warn log levels to stdout
    # rather than stderr.
    splitLogging: false
I want to change the
verbosity: info
to something else.