Skip to content

Commit

Permalink
Remove admin endpoint creation
Browse files Browse the repository at this point in the history
it was deprecated in rocky and removed in train
See https://bugs.launchpad.net/keystone/+bug/1829453
  • Loading branch information
stuggi committed Feb 17, 2023
1 parent 6bfdbbb commit 07d06f2
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion api/bases/keystone.openstack.org_keystoneapis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ spec:
description: Endpoint, OpenStack endpoint this service maps
to
enum:
- admin
- internal
- public
type: string
Expand Down
2 changes: 1 addition & 1 deletion api/v1beta1/keystoneapi_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ type KeystoneAPISpec struct {
// MetalLBConfig to configure the MetalLB loadbalancer service
type MetalLBConfig struct {
// +kubebuilder:validation:Optional
// +kubebuilder:validation:Enum=admin;internal;public
// +kubebuilder:validation:Enum=internal;public
// Endpoint, OpenStack endpoint this service maps to
Endpoint endpoint.Endpoint `json:"endpoint"`

Expand Down
1 change: 0 additions & 1 deletion config/crd/bases/keystone.openstack.org_keystoneapis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ spec:
description: Endpoint, OpenStack endpoint this service maps
to
enum:
- admin
- internal
- public
type: string
Expand Down
3 changes: 0 additions & 3 deletions controllers/keystoneapi_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -338,9 +338,6 @@ func (r *KeystoneAPIReconciler) reconcileInit(
endpoint.EndpointInternal: endpoint.Data{
Port: keystone.KeystoneInternalPort,
},
endpoint.EndpointAdmin: endpoint.Data{
Port: keystone.KeystoneAdminPort,
},
}

for _, metallbcfg := range instance.Spec.ExternalEndpoints {
Expand Down

0 comments on commit 07d06f2

Please sign in to comment.