From c816e73a2ebda7eb667ed7add02d93fa5dfe5a47 Mon Sep 17 00:00:00 2001 From: Martin Schuppert Date: Tue, 5 Sep 2023 09:34:55 +0200 Subject: [PATCH] [svc] Add annotations for ingress control Adds AnnotationIngressCreateKey and AnnotationIngressNameKey. Setting those annotations on the service will control the openstack-operator to create a route and the name for it. --- modules/common/service/types.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/common/service/types.go b/modules/common/service/types.go index 7c38d41e..badbe732 100644 --- a/modules/common/service/types.go +++ b/modules/common/service/types.go @@ -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 -