-
Notifications
You must be signed in to change notification settings - Fork 26
Make per-stack hostnames configurable #693
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -322,7 +322,7 @@ func TestStackGenerateIngress(t *testing.T) { | |
backendPort: &intStrBackendPort, | ||
clusterDomains: []string{"example.org"}, | ||
} | ||
ingress, err := c.GenerateIngress() | ||
ingress, err := c.GenerateIngress(true) | ||
|
||
if tc.expectError { | ||
require.Error(t, err) | ||
|
@@ -461,7 +461,7 @@ func TestStackGenerateIngressSegment(t *testing.T) { | |
segmentUpperLimit: tc.upperLimit, | ||
backendPort: &backendPort, | ||
} | ||
ingress, err := c.GenerateIngressSegment() | ||
ingress, err := c.GenerateIngressSegment(true) | ||
|
||
if (err != nil) != tc.expectError { | ||
t.Errorf("expected error: %t , got %v", tc.expectError, err) | ||
|
@@ -570,7 +570,7 @@ func TestGenerateIngressSegmentWithSyncAnnotations(t *testing.T) { | |
ingressAnnotationsToSync: tc.ingresssAnnotationsToSync, | ||
syncAnnotationsInIngress: tc.syncAnnotationsInIngress, | ||
} | ||
res, _ := c.GenerateIngressSegment() | ||
res, _ := c.GenerateIngressSegment(true) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we duplicate this block of tests for There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think the result would just be empty, because ingresses wouldn't be generated. |
||
|
||
delete( | ||
res.Annotations, | ||
|
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Let's make it true by default to be backwards compatible.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I can keep this TODO open for now. I want to keep it
false
for now to be able to test. I'll set it totrue
before merging.