-
Notifications
You must be signed in to change notification settings - Fork 56
Add support for External Keystone Service #653
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
Merged
openshift-merge-bot
merged 11 commits into
openstack-k8s-operators:main
from
dmendiza:external-keystone
Jan 16, 2026
Merged
Changes from 8 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
0e4e747
Add support for External Keystone Service
dmendiza cf6cdf0
Set region in status
vakwetu d2f5f27
Generate OpenStackClientConfig for External API
dmendiza 9b6ca98
Remove interface from GetAdminServiceClient
dmendiza ebc9e38
Simplify verifyTLSInput function
dmendiza a731b7f
Add functional tests for region and external keystone API
vakwetu d0e2685
Add webhook validation for external Keystone API
vakwetu 18daecb
Add URL validation and comprehensive tests for external Keystone API
vakwetu 0fa5470
Conditionally initialize conditions only for internal Keystone API
vakwetu 7b795e5
Refactor condition initialization and endpoint validation for externa…
vakwetu ebccfff
Clean up unused condition messages and improve Topology condition han…
vakwetu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -53,6 +53,14 @@ const ( | |
| APIDefaultTimeout = 60 | ||
| ) | ||
|
|
||
| var ( | ||
| // interfaceBundleKeys maps endpoint winterfaces to their corresponding key in the CA bundle secret | ||
|
||
| interfaceBundleKeys = map[endpoint.Endpoint]string{ | ||
| endpoint.EndpointInternal: tls.InternalCABundleKey, | ||
| endpoint.EndpointPublic: tls.CABundleKey, | ||
| } | ||
| ) | ||
|
|
||
| // KeystoneAPISpec defines the desired state of KeystoneAPI | ||
| type KeystoneAPISpec struct { | ||
| KeystoneAPISpecCore `json:",inline"` | ||
|
|
@@ -213,6 +221,11 @@ type KeystoneAPISpecCore struct { | |
| // This is only needed when multiple realms are federated. | ||
| // Config files mount path is set to /var/lib/httpd/metadata/ | ||
| FederatedRealmConfig string `json:"federatedRealmConfig"` | ||
|
|
||
| // +kubebuilder:validation:Optional | ||
| // +kubebuilder:default=false | ||
| // ExternalKeystoneAPI - Enable use of external Keystone API endpoints instead of deploying a local Keystone API | ||
| ExternalKeystoneAPI bool `json:"externalKeystoneAPI"` | ||
| } | ||
|
|
||
| // APIOverrideSpec to override the generated manifest of several child resources. | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.