Skip to content

Conversation

marceloneppel
Copy link
Member

@marceloneppel marceloneppel commented Mar 9, 2023

Issue

Jira issues: DPE-1127 and DPE-1378

Solution

Use unique DNS names for each service port (using the same names that are already being used by the primary and replicas k8s services).

Context

The test helpers functions got some new k8s resources added because they were already created before this change, but without the right labels. This PR also fixed it.

Closes #99.

Testing

Tested manually and checked the logs.

Release Notes

Use unique DNS names for each service port.

@marceloneppel marceloneppel marked this pull request as ready for review March 13, 2023 14:39
@marceloneppel marceloneppel merged commit 21fbe3f into main Mar 14, 2023
@marceloneppel marceloneppel deleted the fix-k8s-service-ports-names branch March 14, 2023 16:18
BON4 pushed a commit to BON4/postgresql-k8s-operator that referenced this pull request May 20, 2024
* Fix duplicate K8S service ports names

* Fix expected resources list
github-actions bot added a commit to canonical/test-runners-2-is-x64-postgresql-k8s-operator that referenced this pull request Jul 8, 2024
github-actions bot added a commit to canonical/test-runners-2-is-arm64-postgresql-k8s-operator that referenced this pull request Jul 9, 2024
github-actions bot added a commit to canonical/test-runners-2-github-x64-postgresql-k8s-operator that referenced this pull request Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Service patch fails due to non-unique port names

3 participants