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

[chore] delete unused constant #3634

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
12 changes: 0 additions & 12 deletions apis/v1alpha1/ingress_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ type (
)

const (
// IngressTypeNginx specifies that an ingress entry should be created.
IngressTypeNginx IngressType = "ingress"
// IngressTypeOpenshiftRoute specifies that an route entry should be created.
IngressTypeRoute IngressType = "route"
)
Expand All @@ -39,12 +37,6 @@ const (
// TLSRouteTerminationTypeEdge indicates that encryption should be terminated
// at the edge router.
TLSRouteTerminationTypeEdge TLSRouteTerminationType = "edge"
// TLSTerminationPassthrough indicates that the destination service is
// responsible for decrypting traffic.
TLSRouteTerminationTypePassthrough TLSRouteTerminationType = "passthrough"
// TLSTerminationReencrypt indicates that traffic will be decrypted on the edge
// and re-encrypt using a new certificate.
TLSRouteTerminationTypeReencrypt TLSRouteTerminationType = "reencrypt"
)

// IngressRuleType defines how the collector receivers will be exposed in the Ingress.
Expand All @@ -56,8 +48,4 @@ const (
// IngressRuleTypePath configures Ingress to use single host with multiple paths.
// This configuration might require additional ingress setting to rewrite paths.
IngressRuleTypePath IngressRuleType = "path"

// IngressRuleTypeSubdomain configures Ingress to use multiple hosts - one for each exposed
// receiver port. The port name is used as a subdomain for the host defined in the Ingress e.g. otlp-http.example.com.
IngressRuleTypeSubdomain IngressRuleType = "subdomain"
)
Loading