Skip to content

Commit

Permalink
fix(operator): test error
Browse files Browse the repository at this point in the history
  • Loading branch information
jsenko committed Feb 13, 2025
1 parent f7cc997 commit bc73709
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ void testStatusConditions() {

var registry2 = copy(registry1);
registry2.getMetadata().setName("registry2");
// Dummy values to avoid
// "admission webhook "validate.nginx.ingress.kubernetes.io" denied the request: host "simple-app.apps.cluster.example" and path "/" is already defined in ingress [...]"
registry2.getSpec().getApp().getIngress().setHost("registry2-app.apps.cluster.example");
registry2.getSpec().getUi().getIngress().setHost("registry2-ui.apps.cluster.example");
client.resource(registry2).create();

awaitConditionHasStatus(registry1, 1, TYPE_READY, TRUE);
Expand Down

0 comments on commit bc73709

Please sign in to comment.