fix: TLS domains with IngressRoute.
This commit is contained in:
parent
232c113dae
commit
be90b20a5d
5 changed files with 23 additions and 2 deletions
|
@ -30,6 +30,7 @@ package v1alpha1
|
|||
|
||||
import (
|
||||
dynamic "github.com/containous/traefik/v2/pkg/config/dynamic"
|
||||
types "github.com/containous/traefik/v2/pkg/types"
|
||||
runtime "k8s.io/apimachinery/pkg/runtime"
|
||||
)
|
||||
|
||||
|
@ -654,6 +655,13 @@ func (in *TLS) DeepCopyInto(out *TLS) {
|
|||
*out = new(TLSOptionRef)
|
||||
**out = **in
|
||||
}
|
||||
if in.Domains != nil {
|
||||
in, out := &in.Domains, &out.Domains
|
||||
*out = make([]types.Domain, len(*in))
|
||||
for i := range *in {
|
||||
(*in)[i].DeepCopyInto(&(*out)[i])
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
@ -789,6 +797,13 @@ func (in *TLSTCP) DeepCopyInto(out *TLSTCP) {
|
|||
*out = new(TLSOptionTCPRef)
|
||||
**out = **in
|
||||
}
|
||||
if in.Domains != nil {
|
||||
in, out := &in.Domains, &out.Domains
|
||||
*out = make([]types.Domain, len(*in))
|
||||
for i := range *in {
|
||||
(*in)[i].DeepCopyInto(&(*out)[i])
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue