mirror of
https://github.com/fluxcd/flagger.git
synced 2026-04-15 06:57:34 +00:00
[traefik] Remove TraefikService metadata from canary spec
This commit is contained in:
@@ -175,10 +175,6 @@ type CanaryService struct {
|
||||
// +optional
|
||||
Backends []string `json:"backends,omitempty"`
|
||||
|
||||
// TraefikService is metadata to add to the traefik service
|
||||
// +optional
|
||||
TraefikService *CustomMetadata `json:"traefikService,omitempty"`
|
||||
|
||||
// Apex is metadata to add to the apex service
|
||||
// +optional
|
||||
Apex *CustomMetadata `json:"apex,omitempty"`
|
||||
|
||||
@@ -369,11 +369,6 @@ func (in *CanaryService) DeepCopyInto(out *CanaryService) {
|
||||
*out = make([]string, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
if in.TraefikService != nil {
|
||||
in, out := &in.TraefikService, &out.TraefikService
|
||||
*out = new(CustomMetadata)
|
||||
(*in).DeepCopyInto(*out)
|
||||
}
|
||||
if in.Apex != nil {
|
||||
in, out := &in.Apex, &out.Apex
|
||||
*out = new(CustomMetadata)
|
||||
|
||||
Reference in New Issue
Block a user