Skip to content

controller.wildcardTLS.secret - what is used for and how? #3859

Answered by brianehlert
XDavidT asked this question in Q&A
Discussion options

You must be logged in to vote

You are thinking about this the exact same way I did when I first ran across it.
The 'wildcard' has no reference to this being a 'wildcard certificate' - as in it is *.domain
Instead it refers to how the certificate is used.

If fact the wildcard certificate pattern with Ingress was available long before K8s officially supported a wildcard hostname.

The pattern with a wildcard secret is that you can define it once and continue to use it without specifically referencing it again.
This pattern is unique to the Ingress resource and is legacy at this point.

Personally, I recommend getting accustomed to the pattern of defining a secret and then referencing it explicitly each time you use it.
Th…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@XDavidT
Comment options

Answer selected by XDavidT
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