I'm working on Cluster API integrations and I need...
# kubernetes
q
I'm working on Cluster API integrations and I need to store this YAML as data keys within ConfigMaps and Secrets 🙂
l
@quiet-wolf-18467 this is how I do it in Pulumi+TypeScript:
Copy code
const config = 
pulumi.interpolate `log:
  stdout: true
  level: "debug,info"
...
`

const temporalConfigMap = new kubernetes.core.v1.ConfigMap("config", {
    apiVersion: "v1",
    kind: "ConfigMap",
    metadata: {
        namespace: appNamespace.metadata.name,
    },
    data: {
        "config_template.yaml": config,
    },
});