Skip to content

Commit 6b3a4c7

Browse files
committed
[chore] delete unused constant
1 parent a36367b commit 6b3a4c7

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

apis/v1alpha1/ingress_type.go

-12
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ type (
2121
)
2222

2323
const (
24-
// IngressTypeNginx specifies that an ingress entry should be created.
25-
IngressTypeNginx IngressType = "ingress"
2624
// IngressTypeOpenshiftRoute specifies that an route entry should be created.
2725
IngressTypeRoute IngressType = "route"
2826
)
@@ -39,12 +37,6 @@ const (
3937
// TLSRouteTerminationTypeEdge indicates that encryption should be terminated
4038
// at the edge router.
4139
TLSRouteTerminationTypeEdge TLSRouteTerminationType = "edge"
42-
// TLSTerminationPassthrough indicates that the destination service is
43-
// responsible for decrypting traffic.
44-
TLSRouteTerminationTypePassthrough TLSRouteTerminationType = "passthrough"
45-
// TLSTerminationReencrypt indicates that traffic will be decrypted on the edge
46-
// and re-encrypt using a new certificate.
47-
TLSRouteTerminationTypeReencrypt TLSRouteTerminationType = "reencrypt"
4840
)
4941

5042
// IngressRuleType defines how the collector receivers will be exposed in the Ingress.
@@ -56,8 +48,4 @@ const (
5648
// IngressRuleTypePath configures Ingress to use single host with multiple paths.
5749
// This configuration might require additional ingress setting to rewrite paths.
5850
IngressRuleTypePath IngressRuleType = "path"
59-
60-
// IngressRuleTypeSubdomain configures Ingress to use multiple hosts - one for each exposed
61-
// receiver port. The port name is used as a subdomain for the host defined in the Ingress e.g. otlp-http.example.com.
62-
IngressRuleTypeSubdomain IngressRuleType = "subdomain"
6351
)

0 commit comments

Comments
 (0)