Hi, how can I use Pulumi to get istio configmap an...
# kubernetes
b
Hi, how can I use Pulumi to get istio configmap and to update the data? Istio configmap is created by
istioctl
, rather than Pulumi itself I know for resources that created by pulumi, I can definitely update that by running
pulumi up
, but how about resource that not created by
pulumi
?
s
pulumi cannot manage resources that aren't pulled into its state, and it's not recommended to pull things into state unless pulumi will be the only thing managing the resource. I'm not familiar with istio installation/configuration but is there not a declarative way to configure it? E.g. helm chart installation if
istioctl
is only used to create the configmap, and you're allowed to choose how to update it, you could
import
it into pulumi state
b
thanks for clarify that, seems better to use other method
s
You can use Pulumi to deploy helm charts by the way, if Helm is what you mean by "other method"
b
what I wanna do is to update the existing CM data rather than deployment, so should probably use k8s api package, thanks for letting me know, appreciate that
👍 1