Skip to content

Commit

Permalink
[svc] Add annotations for ingress control
Browse files Browse the repository at this point in the history
Adds AnnotationIngressCreateKey and AnnotationIngressNameKey.
Setting those annotations on the service will control the
openstack-operator to create a route and the name for it.
  • Loading branch information
stuggi committed Sep 7, 2023
1 parent 2099b8d commit c816e73
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/common/service/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ const (
EndpointInternal Endpoint = "internal"
// EndpointPublic - public endpoint
EndpointPublic Endpoint = "public"
// AnnotationIngressCreateKey -
AnnotationIngressCreateKey = "core.openstack.org/ingress_create"
// AnnotationIngressNameKey -
AnnotationIngressNameKey = "core.openstack.org/ingress_name"
// AnnotationEndpointKey -
AnnotationEndpointKey = "endpoint"
// AnnotationHostnameKey -
Expand Down

0 comments on commit c816e73

Please sign in to comment.