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

Generating manifest with backtick in pattern #1084

Open
kollektiv opened this issue Nov 2, 2024 · 1 comment
Open

Generating manifest with backtick in pattern #1084

kollektiv opened this issue Nov 2, 2024 · 1 comment
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@kollektiv
Copy link

kollektiv commented Nov 2, 2024

I have a struct with this annotation. Note the backtick in the pattern

// +kubebuilder:validation:items:Pattern=^[`a-zA-Z]+$

When generating the manifests I get this error literal not terminated (at <input>:1:3)

@alvaroaleman
Copy link
Member

/kind bug

feel free to submit a patch

@k8s-ci-robot k8s-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

3 participants