Skip to content

Conversation

@nandor-magyar
Copy link
Contributor

Host binding was inevitable until this change, with this user can expose ports without binding them to host.

The validation was strict on the UI that was lifted, external port can be left empty now, dagent adds these ports to the exposed ports but not the NAT'd ports list.
Regarding crane this is out of question, portbindings are straight-up ignored.

@nandor-magyar nandor-magyar added source:agent The scope of the issue or pull request is agent. source:web The scope of the issue or pull request is web. source:cli The scope of the issue or pull request is CLI tool. pr:feat lang:golang lang:typescript severity:medium labels Jan 27, 2023
@nandor-magyar nandor-magyar self-assigned this Jan 27, 2023
@nandor-magyar nandor-magyar requested a review from a team as a code owner January 27, 2023 14:16
@nandor-magyar nandor-magyar force-pushed the feat/optional-host-binding branch from efbfb42 to b05156f Compare January 30, 2023 12:31
@codecov-commenter
Copy link

codecov-commenter commented Jan 30, 2023

Codecov Report

Base: 17.92% // Head: 17.97% // Increases project coverage by +0.04% 🎉

Coverage data is based on head (22b1269) compared to base (bf12bef).
Patch coverage: 21.95% of modified lines in pull request are covered.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #444      +/-   ##
===========================================
+ Coverage    17.92%   17.97%   +0.04%     
===========================================
  Files           57       57              
  Lines         5951     5965      +14     
===========================================
+ Hits          1067     1072       +5     
- Misses        4809     4818       +9     
  Partials        75       75              
Impacted Files Coverage Δ
golang/api/v1/deploy.go 80.61% <ø> (ø)
golang/pkg/cli/container_defaults.go 0.00% <0.00%> (ø)
golang/pkg/crane/k8s/service.go 0.00% <0.00%> (ø)
golang/pkg/dagent/utils/container.go 0.00% <0.00%> (ø)
golang/pkg/builder/container/container_builder.go 30.24% <13.33%> (-0.38%) ⬇️
golang/internal/mapper/grpc.go 69.41% <100.00%> (ø)
golang/pkg/builder/container/types.go 65.21% <100.00%> (+3.31%) ⬆️
golang/pkg/dagent/caps/parser.go 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@nandor-magyar nandor-magyar force-pushed the feat/optional-host-binding branch from b05156f to 22b1269 Compare January 30, 2023 12:40
@nandor-magyar nandor-magyar merged commit 8e60209 into develop Jan 30, 2023
@nandor-magyar nandor-magyar deleted the feat/optional-host-binding branch January 30, 2023 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lang:golang lang:typescript pr:feat severity:medium source:agent The scope of the issue or pull request is agent. source:cli The scope of the issue or pull request is CLI tool. source:web The scope of the issue or pull request is web.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants