mirror of
https://github.com/wahyd4/cert-manager.git
synced 2026-08-10 21:56:02 +10:00
Add TODO for domain label values
This commit is contained in:
@@ -17,7 +17,11 @@ import (
|
||||
func podLabels(crt *v1alpha1.Certificate, domain string) map[string]string {
|
||||
return map[string]string{
|
||||
certNameLabelKey: crt.Name,
|
||||
domainLabelKey: domain,
|
||||
// TODO: we need to support domains longer than 63 characters
|
||||
// this value should probably be hashed, and then the full plain text
|
||||
// value stored as an annotation to make it easier for users to read
|
||||
// see #425 for details: https://github.com/jetstack/cert-manager/issues/425
|
||||
domainLabelKey: domain,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user