important-zebra-56988
04/19/2021, 6:32 PMkube2pulumi
, and have it set up in my project - but I can’t seem to figure out how to get this ConfigMap to mount as a volume to my containers.
spec.volumes
"volumes":
[{
"name": "prometheus-config-volume",
"config_map": {
"default_mode": 420,
"name": "prometheus-config",
},
}]
},
yields a:
for key, value in attr.items():
TypeError: 'NoneType' object is not callable
error: an unhandled error occurred: Program exited with non-zero exit code: 1
however - if I comment out the config_map
nested in that object, I can see that it at least rendered a volumes
attribute for the PodTemplateSpec
+ volumes : [
+ [0]: {
+ name: "prometheus-config-volume"
}
]
}