Skip to content
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

chore: Replacing KubernetesServicePatch with ops.set_ports #28

Conversation

Gmerold
Copy link
Contributor

@Gmerold Gmerold commented Dec 1, 2023

Description

This PR replaces KubernetesServicePatch with ops.set_ports for setting the ports exposed by the workload.
It's worth noting, that with ops.set_ports we're not able to set custom name for the port. ops will automatically set the name of the port to juju-{PORT_NUMBER}-tcp.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that validate the behaviour of the software
  • I validated that new and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have bumped the version of the library

@Gmerold Gmerold requested a review from a team as a code owner December 1, 2023 12:36
@Gmerold Gmerold merged commit 885bb65 into main Dec 1, 2023
21 checks passed
@Gmerold Gmerold deleted the TELCO-882-using-ops-set-ports-instead-of-kubernetes-service-patch branch December 1, 2023 13:54
patriciareinoso pushed a commit that referenced this pull request Dec 6, 2023
Update dependency eslint to v8.45.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants