https://pulumi.com logo
#general
Title
# general
i

important-leather-28796

03/08/2019, 10:13 PM
I’m seeing
no resource plugin 'af'
and not sure how I’m introducing it. I’ve created a
CustomResource
, is it pulling it off the beginning of the name for it?
c

creamy-potato-29402

03/08/2019, 10:15 PM
I think you can make it not do that if you set
pulumi
as the provider
so in other words:
Copy code
"kubernetes:<http://admissionregistration.k8s.io/v1alpha1:InitializerConfiguration|admissionregistration.k8s.io/v1alpha1:InitializerConfiguration>"
would use the
kubernetes
plugin
i

important-leather-28796

03/08/2019, 10:17 PM
yes, this is a
kubernetes:
resource, I just didn’t name it that way initially thinking I didn’t want to violate their namespace with my code, but that makes sense
c

creamy-potato-29402

03/08/2019, 10:17 PM
have you considered making it a
ComponentResource
?
components are a collection of other resources.
yaml.ConfigFile
is a
ComponentResource
, e.g.
i

important-leather-28796

03/08/2019, 10:17 PM
It’s a certmanager Issuer
my
CertManager
is a
ComponentResource
which consists of chart, secret, and issuer
c

creamy-potato-29402

03/08/2019, 10:20 PM
ah got it
i

important-leather-28796

03/08/2019, 10:20 PM
looks right now
c

creamy-potato-29402

03/08/2019, 10:20 PM
makes sense, sorry did not see that