-
Notifications
You must be signed in to change notification settings - Fork 426
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
feat: support importing internal ALBs for backend services #5490
Conversation
🍕 Here are the new binary sizes!
|
internal/pkg/cli/deploy/backend.go
Outdated
if len(alb.Listeners) == 0 || len(alb.Listeners) > 2 { | ||
return fmt.Errorf(`imported ALB %q must have either one or two listeners`, alb.ARN) | ||
} |
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.
Users might get confused about what to do when they see this error msg. Maybe we should
- return when they just have 1 listener
- check if they have exactly one http listener and one https listener. if not we error out.
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.
changed! not sure if this is any better...lmk!
@@ -596,7 +596,7 @@ func (o *deploySvcOpts) uriRecommendedActions() ([]string, error) { | |||
case describe.URIAccessTypeServiceDiscovery: | |||
network = "with service discovery." |
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.
Can we fix this too 🥺
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.
❓
internal/pkg/template/templates/workloads/services/backend/cf.yml
Outdated
Show resolved
Hide resolved
Related: #5490. By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the Apache 2.0 License.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## mainline #5490 +/- ##
============================================
- Coverage 70.01% 69.99% -0.02%
============================================
Files 303 303
Lines 46638 46714 +76
Branches 299 299
============================================
+ Hits 32655 32699 +44
- Misses 12396 12424 +28
- Partials 1587 1591 +4 ☔ View full report in Codecov by Sentry. |
Related: #5438.
Integ test changes in #5483.
#5483 adds the Load Balancer DNS name to the service as an env var (and therefore appears in
svc show
output. However, it is not (yet) included in URI output as a recommended action insvc deploy
output.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the Apache 2.0 License.