forked from stakater/Forecastle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update `GetURL` method in `IngressWrapper` class to check for protocol annotation and use specified protocol if present * Add `tryGetStatusHost` method to read ingress host from status field * Update `GetURL` method to use `tryGetStatusHost` method to get host from status field if not found in spec * Add unit tests for `tryGetStatusHost` method and update existing tests for `GetURL` method * Add helper functions to create ingress objects with status fields populated for testing * Add `DefaultProtocol` field in `Config` struct * Update `getURL` function to include logic for reading ingress host from status field * Modify `CustomApp` struct to include `Protocol` field and update `convertCustomAppsToForecastleApps` function to use specified protocol --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/stakater/Forecastle/pull/446?shareId=XXXX-XXXX-XXXX-XXXX).
- Loading branch information
Showing
6 changed files
with
176 additions
and
36 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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