adamant-terabyte-3965
07/15/2022, 4:50 PMpulumi up
it tries to create all resources, which causes it to error out with the following error:
kubernetes:core/v1:ServiceAccount (aws-lb-controller-sa):
error: resource kube-system/lb-serviceaccount was not successfully created by the Kubernetes API server : serviceaccounts "lb-serviceaccount" already exists
At this point the ServiceAccount for my load balancer exists on the kube-system
namespace, and doesn't need creation in the new namespace. How do I get Pulumi to discover existing resources (in this case, my load balancer ServiceAccount) in a different namespace or at least not try and error out attempting to recreate the existing ServiceAccount? I've tried to run pulumi refresh
on my newly created stack, but it doesn't seem to change anything.billowy-army-68599
import
resource provider or the pulumi import
command:
https://www.pulumi.com/docs/guides/adopting/import/adamant-terabyte-3965
07/15/2022, 5:53 PMbillowy-army-68599
adamant-terabyte-3965
07/15/2022, 6:46 PM