Use new logic and fields for dns
This commit is contained in:
parent
6b79679cb4
commit
14994cb6cc
3 changed files with 54 additions and 64 deletions
|
@ -237,6 +237,7 @@ func (n *Namespace) toProto() *v1.Namespace {
|
|||
}
|
||||
}
|
||||
|
||||
// TODO(kradalby): We need these fields to be unique, we need to add a hash or something at the end.
|
||||
// NormalizeToFQDNRules will replace forbidden chars in namespace
|
||||
// it can also return an error if the namespace doesn't respect RFC 952 and 1123.
|
||||
func NormalizeToFQDNRules(name string, stripEmailDomain bool) (string, error) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue