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

Fix URL validation to allow for kubernetes types #385

Merged
merged 1 commit into from
Feb 12, 2024

Conversation

pawelprazak
Copy link
Collaborator

  • allow for a dot in the URN's module part

fixes #384

@pawelprazak pawelprazak added the kind/bug Some behavior is incorrect or out of spec label Feb 10, 2024
@pawelprazak pawelprazak added this to the 0.2.1 milestone Feb 10, 2024
- allow for a dot in the URN's module part
@pawelprazak pawelprazak added the P0 Bugs severe enough to interrupt existing work label Feb 10, 2024
Copy link
Collaborator

@lbialy lbialy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm wondering how many exceptions to the schema were going to find. We have to release 0.2.1 on Mon.

@pawelprazak pawelprazak merged commit 45c745d into main Feb 12, 2024
2 checks passed
@pawelprazak pawelprazak deleted the pprazak/fix-url-parser branch February 12, 2024 08:42
@pawelprazak
Copy link
Collaborator Author

We have a good indication from the codegen. Not that much.

A mitigation strategy would be to unify the Pulumi model in a common module, for things like type tokens and urn's, but we'd have to carefully think it through first. The benefit would be that we already know from codegen what kind of exceptions are there in all schemas in the registry. The downside would be the coupling and more moving parts.

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 P0 Bugs severe enough to interrupt existing work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Kubernetes Ingress - URN parser error
2 participants