Skip to content

Commit dcab14a

Browse files
authored
docs: require hosts, mention host-less rules (#659)
Signed-off-by: Todd Baert <todd.baert@dynatrace.com>
1 parent 7eaba4f commit dcab14a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apis/core/v1beta1/flagd_types.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ type IngressSpec struct {
6060
// +optional
6161
Annotations map[string]string `json:"annotations,omitempty"`
6262

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

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

0 commit comments

Comments
 (0)