Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(listener): add fields to crd #102

Merged
merged 1 commit into from
Dec 25, 2024
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,31 @@ spec:
spec:
description: ListenerClassSpec defines the desired state of ListenerClass
properties:
preferredAddressType:
default: HostnameConservative
description: |-
When preferredAddressType is set to HostnameConservative, the controller will
attempt to use the ip only `ListenerClassSpec.ServiceType` is NodePort,
otherwise it will use the hostname.
enum:
- HostnameConservative
- Hostname
- IP
type: string
serviceAnnotations:
additionalProperties:
type: string
type: object
serviceExternalTrafficPolicy:
default: Local
description: |-
ServiceExternalTrafficPolicy describes how nodes distribute service traffic they
receive on one of the Service's "externally-facing" addresses (NodePorts, ExternalIPs,
and LoadBalancer IPs.
enum:
- Local
- Cluster
type: string
serviceType:
description: Service Type string describes ingress methods for a service
enum:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ spec:
properties:
className:
type: string
extraPodMatchLabels:
extraPodSelectorLabels:
additionalProperties:
type: string
type: object
Expand All @@ -63,6 +63,9 @@ spec:
- protocol
type: object
type: array
publishNotReadyAddresses:
default: true
type: boolean
required:
- className
type: object
Expand Down
Loading