This message was deleted.
# kubernetes
s
This message was deleted.
d
There's an example in the docs you can use for omitting the resource: https://www.pulumi.com/registry/packages/kubernetes/api-docs/yaml/configfile/
By using a transformation
b
@dry-keyboard-94795 just to give a headsup, here our requirement is to first Create the above mentioned resource "*nginxingress_deployment*" using "kubernetes.yaml.ConfigFile" function and then only delete this resource. (this creation and deletion is because we have some resource dependency on cert-manager for TLS and certificates generation) But, as per this link https://www.pulumi.com/registry/packages/kubernetes/api-docs/yaml/configfile/, may be we can only omit the resource but not delete the created resource. (Please feel free to correct me if i am mistaken.) Hence, we are looking for any pulumi python function that can be used to delete the created resource "*nginxingress_deployment"* that can be incorporated in the code.
d
I don't think it'd be possible to do create-then-delete. Also not that familiar with the HTTP based approach for cert-manager certificates; found it a bit of a hassle, so I use DNS-based ACME in my setups so that the ingress isn't needed upfront
b
Yeah but for DNS based ACME setup, as enclosed, only these are the supported dns providers right? https://cert-manager.io/docs/configuration/acme/dns01/ But here in our case, we are using dns provider wix and also we have a provision to use GoDaddy or oraclecloud DNS. Just checking on if there is any workaround in this case..
d
There are other providers that the community has built, not sure of their reliability. Don't you need to leave the nginx deployment around for certificate renewals?