plain-businessperson-30883
02/24/2020, 4:11 PMrules
of the ClusterRole and roleRef
and subjects
of the ClusterRoleBinding), so it failed to import. I could workaround the issue by exporting and importing the resources with kubectl
. The only difference I noticed it that now the resource had the <http://kubectl.kubernetes.io/last-applied-configuration|kubectl.kubernetes.io/last-applied-configuration>
annotation.
Is it the expected behavior? It seems odd to me to depend on an specific tool annotation for doing the import? (I understand that is an official tool, but it does not mean it is the only tool that creates resources in the cluster).
I see that the support for this annotation was added on version `0.25.1`: https://github.com/pulumi/pulumi-kubernetes/blob/master/CHANGELOG.md#0251-july-2-2019
Maybe the issue is in the logic of "parsing the live inputs"? https://github.com/pulumi/pulumi-kubernetes/blob/9ea9de0398c48c79abb9ce68004a8a551b98ad7e/pkg/provider/provider.go#L2237
@microscopic-florist-22719 @white-balloon-205 @gentle-diamond-70147gorgeous-egg-16927
02/24/2020, 8:25 PMplain-businessperson-30883
02/25/2020, 5:15 PM