Skip to content
Discussion options

You must be logged in to vote

Not possible today, and the conflict you hit is a deliberate refusal rather than a validation quirk, so it is worth knowing exactly what it blocks before you design around it.

The check is checkWildcardDomainConflict, and it runs on both create and update. It refuses in both directions at the immediate parent level: creating *.example.com when any specific foo.example.com resource exists, and creating public.example.com when *.example.com exists. For the specific-domain case it builds the parent pattern from the first label and looks for an exact match:

const suffix = fullDomain.slice(dotIndex);              // ".example.com"
const wildcardPattern = `*.${fullDomain.slice(dotIndex + 1)}`;  /…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nozamdavid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants