Skip to content

Commit

Permalink
fixup! fixup! fixup! Add fine-grain ingress DNS control through CRD
Browse files Browse the repository at this point in the history
  • Loading branch information
Thibault Jamet committed Dec 16, 2024
1 parent 8de15fb commit 1d116fe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions cmd/traffic-controller/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ func newIngressControllerService(loadbalancerName string) *v1.Service {
Selector: map[string]string{
"app": "my-service",
},
Type: v1.ServiceTypeLoadBalancer,
Ports: []v1.ServicePort{
{
Name: "http",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
- name: v1beta1
schema:
openAPIV3Schema:
description: ClusterIngressServiceDNSWeight is the defines the links between
description: ClusterIngressServiceDNSWeight is what defines the links between
k8s services and ingresses
properties:
apiVersion:
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/ingress.adevinta.com/v1beta1/ingress_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)

// ClusterIngressServiceDNSWeight is the defines the links between k8s services and ingresses
// ClusterIngressServiceDNSWeight is what defines the links between k8s services and ingresses
// +kubebuilder:object:root=true
// +kubebuilder:resource:scope=Cluster
type ClusterIngressServiceDNSWeight struct {
Expand Down

0 comments on commit 1d116fe

Please sign in to comment.