"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "pkg/provider/kubernetes/crd/kubernetes.go" between
traefik-v2.3.2.src.tar.gz and traefik-v2.3.3.src.tar.gz

About: Traefik is a cloud native edge router, a reverse proxy and load balancer for HTTP and TCP-based applications.

kubernetes.go  (traefik-v2.3.2.src):kubernetes.go  (traefik-v2.3.3.src)
skipping to change at line 48 skipping to change at line 48
// Provider holds configurations of the provider. // Provider holds configurations of the provider.
type Provider struct { type Provider struct {
Endpoint string `description:"Kubernetes server en dpoint (required for external cluster client)." json:"endpoint,omitempty" toml:" endpoint,omitempty" yaml:"endpoint,omitempty"` Endpoint string `description:"Kubernetes server en dpoint (required for external cluster client)." json:"endpoint,omitempty" toml:" endpoint,omitempty" yaml:"endpoint,omitempty"`
Token string `description:"Kubernetes bearer to ken (not needed for in-cluster client)." json:"token,omitempty" toml:"token,omit empty" yaml:"token,omitempty"` Token string `description:"Kubernetes bearer to ken (not needed for in-cluster client)." json:"token,omitempty" toml:"token,omit empty" yaml:"token,omitempty"`
CertAuthFilePath string `description:"Kubernetes certifica te authority file path (not needed for in-cluster client)." json:"certAuthFilePa th,omitempty" toml:"certAuthFilePath,omitempty" yaml:"certAuthFilePath,omitempty "` CertAuthFilePath string `description:"Kubernetes certifica te authority file path (not needed for in-cluster client)." json:"certAuthFilePa th,omitempty" toml:"certAuthFilePath,omitempty" yaml:"certAuthFilePath,omitempty "`
DisablePassHostHeaders bool `description:"Kubernetes disable P assHost Headers." json:"disablePassHostHeaders,omitempty" toml:"disablePassHostH eaders,omitempty" yaml:"disablePassHostHeaders,omitempty" export:"true"` DisablePassHostHeaders bool `description:"Kubernetes disable P assHost Headers." json:"disablePassHostHeaders,omitempty" toml:"disablePassHostH eaders,omitempty" yaml:"disablePassHostHeaders,omitempty" export:"true"`
Namespaces []string `description:"Kubernetes namespace s." json:"namespaces,omitempty" toml:"namespaces,omitempty" yaml:"namespaces,omi tempty" export:"true"` Namespaces []string `description:"Kubernetes namespace s." json:"namespaces,omitempty" toml:"namespaces,omitempty" yaml:"namespaces,omi tempty" export:"true"`
LabelSelector string `description:"Kubernetes label sel ector to use." json:"labelSelector,omitempty" toml:"labelSelector,omitempty" yam l:"labelSelector,omitempty" export:"true"` LabelSelector string `description:"Kubernetes label sel ector to use." json:"labelSelector,omitempty" toml:"labelSelector,omitempty" yam l:"labelSelector,omitempty" export:"true"`
IngressClass string `description:"Value of kubernetes. io/ingress.class annotation to watch for." json:"ingressClass,omitempty" toml:"i ngressClass,omitempty" yaml:"ingressClass,omitempty" export:"true"` IngressClass string `description:"Value of kubernetes. io/ingress.class annotation to watch for." json:"ingressClass,omitempty" toml:"i ngressClass,omitempty" yaml:"ingressClass,omitempty" export:"true"`
ThrottleDuration ptypes.Duration `description:"Ingress refresh thro ttle duration" json:"throttleDuration,omitempty" toml:"throttleDuration,omitempt y" yaml:"throttleDuration,omitempty"` ThrottleDuration ptypes.Duration `description:"Ingress refresh thro ttle duration" json:"throttleDuration,omitempty" toml:"throttleDuration,omitempt y" yaml:"throttleDuration,omitempty" export:"true"`
lastConfiguration safe.Safe lastConfiguration safe.Safe
} }
func (p *Provider) newK8sClient(ctx context.Context, labelSelector string) (*cli entWrapper, error) { func (p *Provider) newK8sClient(ctx context.Context, labelSelector string) (*cli entWrapper, error) {
labelSel, err := labels.Parse(labelSelector) labelSel, err := labels.Parse(labelSelector)
if err != nil { if err != nil {
return nil, fmt.Errorf("invalid label selector: %q", labelSelecto r) return nil, fmt.Errorf("invalid label selector: %q", labelSelecto r)
} }
log.FromContext(ctx).Infof("label selector is: %q", labelSel) log.FromContext(ctx).Infof("label selector is: %q", labelSel)
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)