Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cert-manager CRDs fail to convert to dotnet #17

Open
JasonWhall opened this issue Nov 26, 2020 · 4 comments
Open

cert-manager CRDs fail to convert to dotnet #17

JasonWhall opened this issue Nov 26, 2020 · 4 comments
Labels
kind/bug Some behavior is incorrect or out of spec

Comments

@JasonWhall
Copy link

Steps to reproduce:

crd2pulumi --dotnetPath ./crds ./cert-manager.yaml

Expected result:
all CRDs created as .cs files in the ./crds folder

Actual result
errors on random files:

error: could not create file /path/to/crds/Certmanager/V1/Outputs/IssuerSpecVaultAuthAppRole.cs: open /path/to/crds/Certmanager/V1/Outputs/IssuerSpecVaultAuthAppRole.cs: too many open files

Re-Running crd2pulumi multiple times with -f flag eventually writes all of the required files.

@leezen
Copy link

leezen commented Dec 3, 2020

I'm not able to reproduce this on my machine. What does ulimit -n show for you? Is it just a matter of hitting OS-level max file descriptors, in which case, does bumping ulimit help alleviate this problem for you?

@alexeyzimarev
Copy link

I just got this exception, on macOS. The ulimit -n output is 256.

@alexeyzimarev
Copy link

After running ulimit -n 65536 200000 it worked

@srivathsah
Copy link

I am facing a similar issue on windows. the error is
could not create file crds\dotnet\Certmanager\V1Alpha2\Inputs\ClusterIssuerSpecAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressionsArgs.cs: open crds\dotnet\Certmanager\V1Alpha2\Inputs\ClusterIssuerSpecAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressionsArgs.cs: The system cannot find the path specified.

After running crd2pulumi --dotnetPath ./crds ./cert-manager.yaml on Windows 11, .net 6 and crd2pulumi 1.0.10.

Has anyone faced a similar issue? This is breaking my head :(

@mattolenik mattolenik added the kind/bug Some behavior is incorrect or out of spec label Jun 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Some behavior is incorrect or out of spec
Projects
None yet
Development

No branches or pull requests

5 participants