Skip to content

Commit

Permalink
docs: require hosts, mention host-less rules (#659)
Browse files Browse the repository at this point in the history
Signed-off-by: Todd Baert <todd.baert@dynatrace.com>
  • Loading branch information
toddbaert authored Jun 3, 2024
1 parent 7eaba4f commit dcab14a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apis/core/v1beta1/flagd_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ type IngressSpec struct {
// +optional
Annotations map[string]string `json:"annotations,omitempty"`

// Hosts list of hosts to be added to the ingress
// +optional
Hosts []string `json:"hosts,omitempty"`
// Hosts list of hosts to be added to the ingress.
// Empty string corresponds to rule with no host.
Hosts []string `json:"hosts"`

// TLS configuration for the ingress
TLS []networkingv1.IngressTLS `json:"tls,omitempty"`
Expand Down

0 comments on commit dcab14a

Please sign in to comment.