Skip to content

K8SPS-241: Get K8S objects within a specific namespace#697

Merged
hors merged 1 commit intomainfrom
K8SPS-241-get-objects-properly
Jul 4, 2024
Merged

K8SPS-241: Get K8S objects within a specific namespace#697
hors merged 1 commit intomainfrom
K8SPS-241-get-objects-properly

Conversation

@inelpandzic
Copy link
Contributor

@inelpandzic inelpandzic commented Jul 4, 2024

K8SPS-241 Powered by Pull Request Badge

CHANGE DESCRIPTION

Problem:
Getting pods, PVCs, and services was done without specifying a namespace, only with labels, so everything was collected, from every namespace.

Solution:
Get all of these objects from a CR namespace.

CHECKLIST

Jira

  • Is the Jira ticket created and referenced properly?
  • Does the Jira ticket have the proper statuses for documentation (Needs Doc) and QA (Needs QA)?
  • Does the Jira ticket link to the proper milestone (Fix Version field)?

Tests

  • Is an E2E test/test case added for the new feature/change?
  • Are unit tests added where appropriate?

Config/Logging/Testability

  • Are all needed new/changed options added to default YAML files?
  • Did we add proper logging messages for operator actions?
  • Did we ensure compatibility with the previous version or cluster upgrade process?
  • Does the change support oldest and newest supported PS version?
  • Does the change support oldest and newest supported Kubernetes version?

@pull-request-size pull-request-size bot added the size/M 30-99 lines label Jul 4, 2024
@JNKPercona
Copy link
Collaborator

Test name Status
async-ignore-annotations passed
auto-config passed
config passed
config-router passed
demand-backup passed
gr-demand-backup passed
gr-demand-backup-haproxy passed
gr-finalizer passed
gr-haproxy passed
gr-ignore-annotations passed
gr-init-deploy passed
gr-one-pod passed
gr-recreate passed
gr-scaling passed
gr-security-context passed
gr-self-healing passed
gr-tls-cert-manager passed
gr-users passed
haproxy passed
init-deploy passed
limits passed
monitoring passed
one-pod passed
operator-self-healing passed
recreate passed
scaling passed
service-per-pod passed
sidecars passed
smart-update passed
tls-cert-manager passed
users passed
version-service passed
We run 32 out of 32

commit: a75ee84
image: perconalab/percona-server-mysql-operator:PR-697-a75ee849

@hors hors merged commit 29b00ac into main Jul 4, 2024
@hors hors deleted the K8SPS-241-get-objects-properly branch July 4, 2024 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/M 30-99 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants