https://pulumi.com logo
b

big-potato-91793

03/04/2020, 7:24 PM
Quick question, is there any simple way to user the
data
inside the ConfigMap to get all the keys in typescript. Need these to make the volume mounts with keys instead of the hole folder.
I want to do something like this:
Copy code
configMap.data.map(entry => {key: entry.key, path: entry.key})
c

calm-quill-21760

03/05/2020, 1:09 AM
Are you looking for syntax like this?
Copy code
for (let [name, value] of configMap) {}
b

big-potato-91793

03/05/2020, 3:29 PM
I got a lof of problem because of the Output