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

Allow customize service via service.Override and handle endpoint protocol #332

Merged
merged 9 commits into from
Sep 19, 2023

Conversation

stuggi
Copy link
Contributor

@stuggi stuggi commented Sep 7, 2023

  • Allow customize service via service.Override
    Adds an OverrideSpec to the Service which allows to customize metadata.Annotations, metadata.Labels and spec of a service. The override values get merged into the object definition created by the operator. This is part of moving the external connection config into the openstack-operator and allows to override the default service created by an operatior with a MetalLB LoadBalancer service spec.

Jira: OSP-26690

  • [TLS] Add Protocol to endpoint
    Adds Protocol to endpoint Data struct with funcs to get the protocol based on the type. If the type is nil, http is considered to match the current behavior.

  • Add annotations for ingress control
    Adds AnnotationIngressCreateKey . Setting this annotation on the service will control the openstack-operator to create a route .

Jira: OSP-26845

@stuggi
Copy link
Contributor Author

stuggi commented Sep 7, 2023

/hold

stuggi added a commit to stuggi/keystone-operator that referenced this pull request Sep 7, 2023
Removes creation of routes for keystoneapi as those get done in
the openstack-operator. Via service overrides the parts of the
service can be customized. The service operator adds annotation
to the service which needs to be exposed as a route.

Jira: OSP-26690

Depends-On: openstack-k8s-operators/lib-common#332
stuggi added a commit to stuggi/glance-operator that referenced this pull request Sep 7, 2023
Removes creation of routes.Those get done in the openstack-operator.
Via service overrides the service can be customized. The service operator
adds annotation to the service which needs to be exposed as a route.

Jira: OSP-26690

Depends-On: openstack-k8s-operators/lib-common#332
stuggi added a commit to stuggi/placement-operator that referenced this pull request Sep 7, 2023
Removes creation of routes.Those get done in the openstack-operator.
Via service overrides the service can be customized. The service operator
adds annotation to the service which needs to be exposed as a route.

Jira: OSP-26690

Depends-On: openstack-k8s-operators/lib-common#332
stuggi added a commit to stuggi/cinder-operator that referenced this pull request Sep 7, 2023
Removes creation of routes.Those get done in the openstack-operator.
Via service overrides the service can be customized. The service operator
adds annotation to the service which needs to be exposed as a route.

Jira: OSP-26690

Depends-On: openstack-k8s-operators/lib-common#332
stuggi added a commit to stuggi/neutron-operator that referenced this pull request Sep 7, 2023
Removes creation of routes.Those get done in the openstack-operator.
Via service overrides the service can be customized. The service operator
adds annotation to the service which needs to be exposed as a route.

Jira: OSP-26690

Depends-On: openstack-k8s-operators/lib-common#332
stuggi added a commit to stuggi/nova-operator that referenced this pull request Sep 7, 2023
Removes creation of routes.Those get done in the openstack-operator.
Via service overrides the service can be customized. The service operator
adds annotation to the service which needs to be exposed as a route.

Jira: OSP-26690

Depends-On: openstack-k8s-operators/lib-common#332
stuggi added a commit to stuggi/heat-operator that referenced this pull request Sep 7, 2023
Removes creation of routes.Those get done in the openstack-operator.
Via service overrides the service can be customized. The service operator
adds annotation to the service which needs to be exposed as a route.

Jira: OSP-26690

Depends-On: openstack-k8s-operators/lib-common#332
stuggi added a commit to stuggi/horizon-operator that referenced this pull request Sep 7, 2023
Removes creation of routes.Those get done in the openstack-operator.
Via service overrides the service can be customized. The service operator
adds annotation to the service which needs to be exposed as a route.

Jira: OSP-26690

Depends-On: openstack-k8s-operators/lib-common#332
stuggi added a commit to stuggi/manila-operator that referenced this pull request Sep 7, 2023
Removes creation of routes.Those get done in the openstack-operator.
Via service overrides the service can be customized. The service operator
adds annotation to the service which needs to be exposed as a route.

Jira: OSP-26690

Depends-On: openstack-k8s-operators/lib-common#332
stuggi added a commit to stuggi/swift-operator that referenced this pull request Sep 7, 2023
Removes creation of routes.Those get done in the openstack-operator.
Via service overrides the service can be customized. The service operator
adds annotation to the service which needs to be exposed as a route.

Jira: OSP-26690

Depends-On: openstack-k8s-operators/lib-common#332
stuggi added a commit to stuggi/manila-operator that referenced this pull request Sep 7, 2023
Removes creation of routes.Those get done in the openstack-operator.
Via service overrides the service can be customized. The service operator
adds annotation to the service which needs to be exposed as a route.

Jira: OSP-26690

Depends-On: openstack-k8s-operators/lib-common#332
stuggi added a commit to stuggi/infra-operator that referenced this pull request Sep 11, 2023
moving from ExtrenalEndpoints to use ServiceOverride to customize the
service.

Jira: OSP-26690

Depends-On: openstack-k8s-operators/lib-common#332
stuggi added a commit to stuggi/glance-operator that referenced this pull request Sep 11, 2023
Removes creation of routes.Those get done in the openstack-operator.
Via service overrides the service can be customized. The service operator
adds annotation to the service which needs to be exposed as a route.

Jira: OSP-26690

Depends-On: openstack-k8s-operators/lib-common#332
stuggi added a commit to stuggi/infra-operator that referenced this pull request Sep 11, 2023
moving from ExtrenalEndpoints to use ServiceOverride to customize the
service.

Jira: OSP-26690

Depends-On: openstack-k8s-operators/lib-common#332
stuggi added a commit to stuggi/keystone-operator that referenced this pull request Sep 11, 2023
Removes creation of routes for keystoneapi as those get done in
the openstack-operator. Via service overrides the parts of the
service can be customized. The service operator adds annotation
to the service which needs to be exposed as a route.

Jira: OSP-26690

Depends-On: openstack-k8s-operators/lib-common#332
stuggi added a commit to stuggi/glance-operator that referenced this pull request Sep 20, 2023
Removes creation of routes.Those get done in the openstack-operator.
Via service overrides the service can be customized. The service operator
adds annotation to the service which needs to be exposed as a route.

Jira: OSP-26690

Depends-On: openstack-k8s-operators/lib-common#332
stuggi added a commit to stuggi/placement-operator that referenced this pull request Sep 20, 2023
Removes creation of routes.Those get done in the openstack-operator.
Via service overrides the service can be customized. The service operator
adds annotation to the service which needs to be exposed as a route.

Jira: OSP-26690

Depends-On: openstack-k8s-operators/lib-common#332
stuggi added a commit to stuggi/cinder-operator that referenced this pull request Sep 20, 2023
Removes creation of routes.Those get done in the openstack-operator.
Via service overrides the service can be customized. The service operator
adds annotation to the service which needs to be exposed as a route.

Jira: OSP-26690

Depends-On: openstack-k8s-operators/lib-common#332
stuggi added a commit to stuggi/neutron-operator that referenced this pull request Sep 20, 2023
Removes creation of routes.Those get done in the openstack-operator.
Via service overrides the service can be customized. The service operator
adds annotation to the service which needs to be exposed as a route.

Jira: OSP-26690

Depends-On: openstack-k8s-operators/lib-common#332
stuggi added a commit to stuggi/glance-operator that referenced this pull request Sep 20, 2023
Removes creation of routes.Those get done in the openstack-operator.
Via service overrides the service can be customized. The service operator
adds annotation to the service which needs to be exposed as a route.

Jira: OSP-26690

Depends-On: openstack-k8s-operators/lib-common#332
stuggi added a commit to stuggi/placement-operator that referenced this pull request Sep 20, 2023
Removes creation of routes.Those get done in the openstack-operator.
Via service overrides the service can be customized. The service operator
adds annotation to the service which needs to be exposed as a route.

Jira: OSP-26690

Depends-On: openstack-k8s-operators/lib-common#332
stuggi added a commit to stuggi/neutron-operator that referenced this pull request Sep 20, 2023
Removes creation of routes.Those get done in the openstack-operator.
Via service overrides the service can be customized. The service operator
adds annotation to the service which needs to be exposed as a route.

Jira: OSP-26690

Depends-On: openstack-k8s-operators/lib-common#332
stuggi added a commit to stuggi/nova-operator that referenced this pull request Sep 20, 2023
Removes creation of routes.Those get done in the openstack-operator.
Via service overrides the service can be customized. The service operator
adds annotation to the service which needs to be exposed as a route.

Jira: OSP-26690

Depends-On: openstack-k8s-operators/lib-common#332
stuggi added a commit to stuggi/heat-operator that referenced this pull request Sep 20, 2023
Removes creation of routes.Those get done in the openstack-operator.
Via service overrides the service can be customized. The service operator
adds annotation to the service which needs to be exposed as a route.

Jira: OSP-26690

Depends-On: openstack-k8s-operators/lib-common#332
stuggi added a commit to stuggi/horizon-operator that referenced this pull request Sep 20, 2023
Removes creation of routes.Those get done in the openstack-operator.
Via service overrides the service can be customized. The service operator
adds annotation to the service which needs to be exposed as a route.

Jira: OSP-26690

Depends-On: openstack-k8s-operators/lib-common#332
stuggi added a commit to stuggi/manila-operator that referenced this pull request Sep 20, 2023
Removes creation of routes.Those get done in the openstack-operator.
Via service overrides the service can be customized. The service operator
adds annotation to the service which needs to be exposed as a route.

Jira: OSP-26690

Depends-On: openstack-k8s-operators/lib-common#332
stuggi added a commit to stuggi/swift-operator that referenced this pull request Sep 20, 2023
Removes creation of routes.Those get done in the openstack-operator.
Via service overrides the service can be customized. The service operator
adds annotation to the service which needs to be exposed as a route.

Jira: OSP-26690

Depends-On: openstack-k8s-operators/lib-common#332
stuggi added a commit to stuggi/nova-operator that referenced this pull request Sep 20, 2023
Removes creation of routes.Those get done in the openstack-operator.
Via service overrides the service can be customized. The service operator
adds annotation to the service which needs to be exposed as a route.

Jira: OSP-26690

Depends-On: openstack-k8s-operators/lib-common#332
stuggi added a commit to stuggi/horizon-operator that referenced this pull request Sep 20, 2023
Removes creation of routes.Those get done in the openstack-operator.
Via service overrides the service can be customized. The service operator
adds annotation to the service which needs to be exposed as a route.

Jira: OSP-26690

Depends-On: openstack-k8s-operators/lib-common#332
stuggi added a commit to stuggi/cinder-operator that referenced this pull request Sep 20, 2023
Removes creation of routes.Those get done in the openstack-operator.
Via service overrides the service can be customized. The service operator
adds annotation to the service which needs to be exposed as a route.

Jira: OSP-26690

Depends-On: openstack-k8s-operators/lib-common#332
stuggi added a commit to stuggi/horizon-operator that referenced this pull request Sep 20, 2023
Removes creation of routes.Those get done in the openstack-operator.
Via service overrides the service can be customized. The service operator
adds annotation to the service which needs to be exposed as a route.

Jira: OSP-26690

Depends-On: openstack-k8s-operators/lib-common#332
stuggi added a commit to stuggi/glance-operator that referenced this pull request Sep 20, 2023
Removes creation of routes.Those get done in the openstack-operator.
Via service overrides the service can be customized. The service operator
adds annotation to the service which needs to be exposed as a route.

Jira: OSP-26690

Depends-On: openstack-k8s-operators/lib-common#332
openshift-merge-robot pushed a commit to openstack-k8s-operators/placement-operator that referenced this pull request Sep 20, 2023
Removes creation of routes.Those get done in the openstack-operator.
Via service overrides the service can be customized. The service operator
adds annotation to the service which needs to be exposed as a route.

Jira: OSP-26690

Depends-On: openstack-k8s-operators/lib-common#332
stuggi added a commit to stuggi/swift-operator that referenced this pull request Sep 20, 2023
Removes creation of routes.Those get done in the openstack-operator.
Via service overrides the service can be customized. The service operator
adds annotation to the service which needs to be exposed as a route.

Jira: OSP-26690

Depends-On: openstack-k8s-operators/lib-common#332
stuggi added a commit to stuggi/manila-operator that referenced this pull request Sep 20, 2023
Removes creation of routes.Those get done in the openstack-operator.
Via service overrides the service can be customized. The service operator
adds annotation to the service which needs to be exposed as a route.

Jira: OSP-26690

Depends-On: openstack-k8s-operators/lib-common#332
stuggi added a commit to stuggi/ironic-operator that referenced this pull request Sep 20, 2023
Removes creation of routes for ironicapi and ironicinspector as
those get done in the openstack-operator. Via service overrides
the parts of the service can be customized. The service operator
adds annotation to the service which needs to be exposed as a route.

Note: does not cover the routes being created by the ironicconductor
and ironicinspector for the httpboot service when there is no inspection
network

Jira: OSP-26690

Depends-On: openstack-k8s-operators/lib-common#332
stuggi added a commit to stuggi/octavia-operator that referenced this pull request Sep 20, 2023
Removes creation of routes.Those get done in the openstack-operator.
Via service overrides the service can be customized. The service operator
adds annotation to the service which needs to be exposed as a route.

Jira: OSP-26690

Depends-On: openstack-k8s-operators/lib-common#332
stuggi added a commit to stuggi/nova-operator that referenced this pull request Sep 21, 2023
Removes creation of routes.Those get done in the openstack-operator.
Via service overrides the service can be customized. The service operator
adds annotation to the service which needs to be exposed as a route.

Jira: OSP-26690

Depends-On: openstack-k8s-operators/lib-common#332
stuggi added a commit to stuggi/octavia-operator that referenced this pull request Sep 21, 2023
Removes creation of routes.Those get done in the openstack-operator.
Via service overrides the service can be customized. The service operator
adds annotation to the service which needs to be exposed as a route.

Jira: OSP-26690

Depends-On: openstack-k8s-operators/lib-common#332
stuggi added a commit to stuggi/manila-operator that referenced this pull request Sep 21, 2023
Removes creation of routes.Those get done in the openstack-operator.
Via service overrides the service can be customized. The service operator
adds annotation to the service which needs to be exposed as a route.

Jira: OSP-26690

Depends-On: openstack-k8s-operators/lib-common#332
stuggi added a commit to stuggi/glance-operator that referenced this pull request Sep 21, 2023
Removes creation of routes.Those get done in the openstack-operator.
Via service overrides the service can be customized. The service operator
adds annotation to the service which needs to be exposed as a route.

Jira: OSP-26690

Depends-On: openstack-k8s-operators/lib-common#332
openshift-merge-robot pushed a commit to openstack-k8s-operators/nova-operator that referenced this pull request Sep 21, 2023
Removes creation of routes.Those get done in the openstack-operator.
Via service overrides the service can be customized. The service operator
adds annotation to the service which needs to be exposed as a route.

Jira: OSP-26690

Depends-On: openstack-k8s-operators/lib-common#332
stuggi added a commit to stuggi/ironic-operator that referenced this pull request Sep 25, 2023
Removes creation of routes for ironicapi and ironicinspector as
those get done in the openstack-operator. Via service overrides
the parts of the service can be customized. The service operator
adds annotation to the service which needs to be exposed as a route.

Note: does not cover the routes being created by the ironicconductor
and ironicinspector for the httpboot service when there is no inspection
network

Jira: OSP-26690

Depends-On: openstack-k8s-operators/lib-common#332
stuggi added a commit to stuggi/octavia-operator that referenced this pull request Sep 25, 2023
Removes creation of routes.Those get done in the openstack-operator.
Via service overrides the service can be customized. The service operator
adds annotation to the service which needs to be exposed as a route.

Jira: OSP-26690

Depends-On: openstack-k8s-operators/lib-common#332
bshephar pushed a commit to bshephar/heat-operator that referenced this pull request Oct 3, 2023
Removes creation of routes.Those get done in the openstack-operator.
Via service overrides the service can be customized. The service operator
adds annotation to the service which needs to be exposed as a route.

Jira: OSP-26690

Depends-On: openstack-k8s-operators/lib-common#332
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants