-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handling Missing Ingress Domain for Registry Operator (#89)
* add logic for handling missing ingress domain Signed-off-by: Jordan Dubrick <[email protected]> * use local hostname if ingress skipped Signed-off-by: Jordan Dubrick <[email protected]> * update localhost values to use global var Signed-off-by: Jordan Dubrick <[email protected]> * fix typo for using localhost constant Signed-off-by: Jordan Dubrick <[email protected]> * remove protocol from local hostname constant Signed-off-by: Jordan Dubrick <[email protected]> * create helper func for skipping ingress Signed-off-by: Jordan Dubrick <[email protected]> * prefix http protocol to url Signed-off-by: Jordan Dubrick <[email protected]> * add logic for skipping checks for missing ingress k8s cases Signed-off-by: Jordan Dubrick <[email protected]> * cherry pick remove items & block deployment if ingress unset Signed-off-by: Jordan Dubrick <[email protected]> --------- Signed-off-by: Jordan Dubrick <[email protected]>
- Loading branch information
Showing
6 changed files
with
74 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,3 +17,5 @@ | |
package registry | ||
|
||
const maxTruncLength = 63 | ||
|
||
const localHostname = "localhost:8080" |
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