Skip to content

Store tenantPhase in DynaKube status#6537

Open
waodim wants to merge 8 commits intomainfrom
feature/store-tenant-phase
Open

Store tenantPhase in DynaKube status#6537
waodim wants to merge 8 commits intomainfrom
feature/store-tenant-phase

Conversation

@waodim
Copy link
Copy Markdown
Contributor

@waodim waodim commented May 4, 2026

Description

With this we are now storing the tenant phase in the DK status by querying it via client. A new field is added to the DK status and it is populated with the response (essentially just an int).

ICP-3199

How can this be tested?

  • unit tests
  • if you have a gen 3 tenant: use the endpoint, or check the operator logs

@waodim waodim requested a review from a team as a code owner May 4, 2026 05:31
@github-actions github-actions Bot added the helm Changes to helm templates or values file label May 4, 2026
Comment thread pkg/api/latest/dynakube/tenant/status.go Outdated
Comment thread pkg/clients/dynatrace/client.go Outdated
@waodim waodim requested a review from avorima May 4, 2026 08:50
Comment thread pkg/clients/dynatrace/client.go Outdated
Comment thread pkg/clients/dynatrace/client.go Outdated
@waodim waodim requested a review from avorima May 4, 2026 09:45
Comment thread pkg/clients/dynatrace/client.go Outdated
Comment thread pkg/clients/dynatrace/client_test.go
Comment thread pkg/clients/dynatrace/client.go Outdated
Comment thread pkg/clients/dynatrace/client.go
@waodim waodim requested review from avorima and mihaitanasedt May 5, 2026 05:30
mihaitanasedt
mihaitanasedt previously approved these changes May 5, 2026

// If gen2 with no /api path: append /api for the API client
if path.Base(base.Path) != "api" {
return base.JoinPath("api"), &platform
Copy link
Copy Markdown
Contributor

@avorima avorima May 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry, i mixed up some requirements. to map an AG 2nd gen to 3rd gen, we just have to strip the /api, but for any other URL we need to add the "apps" part in the domain. I'm thinking that maybe we're being too smart about this.

@waodim
Copy link
Copy Markdown
Contributor Author

waodim commented May 5, 2026

The approach on how to do the mapping of URLs is being discussed. Up until a decision is reached do not merge this PR.

@mihaitanasedt mihaitanasedt dismissed their stale review May 5, 2026 11:21

Dismiss review until a decision is reached

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge helm Changes to helm templates or values file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants