Skip to content

Wait webui on Mongo and simapp on webui readiness#150

Closed
gab-arrobo wants to merge 9 commits into
omec-project:mainfrom
gab-arrobo:wait-initContainers
Closed

Wait webui on Mongo and simapp on webui readiness#150
gab-arrobo wants to merge 9 commits into
omec-project:mainfrom
gab-arrobo:wait-initContainers

Conversation

@gab-arrobo

Copy link
Copy Markdown
Contributor

No description provided.

Signed-off-by: Arrobo, Gabriel <gabriel.arrobo@intel.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Helm charts to enforce a more correct startup ordering between components: WebUI waits for MongoDB to be reachable, and simapp waits for WebUI to be reachable, with corresponding chart version bumps to release the behavior.

Changes:

  • Update 5g-control-plane WebUI initContainer to wait on MongoDB DNS + TCP readiness (instead of waiting on webui itself).
  • Update omec-sub-provision simapp initContainer to wait on WebUI DNS + TCP readiness.
  • Bump chart versions (sd-core, 5g-control-plane, omec-sub-provision) to publish the change.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
sdcore-helm-charts/Chart.yaml Bumps umbrella chart + dependency versions to pull in readiness-order changes.
omec-sub-provision/templates/deployment-simapp.yaml Makes simapp wait for WebUI readiness before starting.
omec-sub-provision/Chart.yaml Version bump for omec-sub-provision release.
5g-control-plane/templates/deployment-webui.yaml Makes WebUI wait for MongoDB readiness before starting.
5g-control-plane/Chart.yaml Version bump for 5g-control-plane release.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread 5g-control-plane/templates/deployment-webui.yaml Outdated
Comment thread 5g-control-plane/templates/deployment-webui.yaml Outdated
Comment thread omec-sub-provision/templates/deployment-simapp.yaml Outdated
Signed-off-by: Arrobo, Gabriel <gabriel.arrobo@intel.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Comment thread omec-sub-provision/templates/deployment-simapp.yaml Outdated
Signed-off-by: Arrobo, Gabriel <gabriel.arrobo@intel.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Comment thread omec-sub-provision/templates/deployment-simapp.yaml Outdated
Comment thread 5g-control-plane/templates/deployment-webui.yaml Outdated
Signed-off-by: Arrobo, Gabriel <gabriel.arrobo@intel.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Comment thread omec-sub-provision/templates/deployment-simapp.yaml Outdated
Comment thread 5g-control-plane/templates/deployment-webui.yaml
Signed-off-by: Arrobo, Gabriel <gabriel.arrobo@intel.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Comment thread omec-sub-provision/templates/deployment-simapp.yaml Outdated
Signed-off-by: Arrobo, Gabriel <gabriel.arrobo@intel.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Comment thread omec-sub-provision/templates/deployment-simapp.yaml Outdated
Comment thread 5g-control-plane/templates/deployment-webui.yaml Outdated
Signed-off-by: Arrobo, Gabriel <gabriel.arrobo@intel.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Comment thread omec-sub-provision/templates/deployment-simapp.yaml Outdated
Comment thread 5g-control-plane/templates/deployment-webui.yaml Outdated
Signed-off-by: Arrobo, Gabriel <gabriel.arrobo@intel.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Comment thread omec-sub-provision/templates/deployment-simapp.yaml Outdated
Signed-off-by: Arrobo, Gabriel <gabriel.arrobo@intel.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Comment on lines +8 to +10
{{- $mongoUrl := (.Values.config.mongodb.url | default "mongodb://mongodb-headless:27017") }}
{{- $mongoNoScheme := trimPrefix "mongodb+srv://" (trimPrefix "mongodb://" $mongoUrl) }}
{{- $mongoAuthorityRaw := first (splitList "/" $mongoNoScheme) }}
@gab-arrobo gab-arrobo closed this Jun 4, 2026
@gab-arrobo gab-arrobo deleted the wait-initContainers branch June 4, 2026 05:16
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.

2 participants