Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions config/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,9 @@ spec:
- type: integer
- type: string
x-kubernetes-int-or-string: true
tag:
description: Tag is the name of the traffic tag associated with this rule.
type: string
visibility:
description: |-
Visibility signifies whether this rule should `ClusterLocal`. If it's not
Expand Down
4 changes: 4 additions & 0 deletions pkg/apis/networking/v1alpha1/ingress_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,10 @@ type IngressRule struct {
// HTTP represents a rule to apply against incoming requests. If the
// rule is satisfied, the request is routed to the specified backend.
HTTP *HTTPIngressRuleValue `json:"http,omitempty"`

// Tag is the name of the traffic tag associated with this rule.
// +optional
Tag string `json:"tag,omitzero"`
}

// HTTPIngressRuleValue is a list of http selectors pointing to backends.
Expand Down
Loading