Skip to content

Commit

Permalink
Add public endpoint simulation
Browse files Browse the repository at this point in the history
We need a public endpoint to build some redirect urls
  • Loading branch information
d34dh0r53 committed Jan 7, 2025
1 parent 60d6883 commit 44bd8f7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/functional/keystoneapi_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ var _ = Describe("Keystone controller", func() {
var keystoneAccountName types.NamespacedName
var keystoneDatabaseName types.NamespacedName
var keystoneAPIConfigDataName types.NamespacedName
var keystoneEndpointName types.NamespacedName
var dbSyncJobName types.NamespacedName
var bootstrapJobName types.NamespacedName
var deploymentName types.NamespacedName
Expand Down Expand Up @@ -83,6 +84,10 @@ var _ = Describe("Keystone controller", func() {
Name: "keystone-config-data",
Namespace: namespace,
}
keystoneEndpointName = types.NamespacedName{
Name: "public",
Namespace: namespace,
}
caBundleSecretName = types.NamespacedName{
Name: CABundleSecretName,
Namespace: namespace,
Expand Down Expand Up @@ -1168,6 +1173,7 @@ var _ = Describe("Keystone controller", func() {
})
th.SimulateJobSuccess(dbSyncJobName)
th.SimulateJobSuccess(bootstrapJobName)
keystone.SimulateKeystoneEndpointReady(keystoneEndpointName)
th.SimulateDeploymentReplicaReady(deploymentName)
})

Expand Down

0 comments on commit 44bd8f7

Please sign in to comment.