percona / percona-everest-cli

Apache License 2.0
6 stars 5 forks source link

EVEREST-574 Merge namespaces for cluster role binding #214

Closed gen1us2k closed 12 months ago

gen1us2k commented 1 year ago

CHANGE DESCRIPTION

Problem: EVEREST-574

Short explanation of the problem.

Right now when the user runs the provisioning command multiple times using multiple namespaces the previous deployments of the everest stop working because clusterrolebinding overrides with the latest namespace.

The PR fixes the following problems

  1. Support for deploying everest into multiple namespaces inside one k8s cluster using the same service account
  2. Migrated for the new API design after the redesign
  3. Do not install everest if it's already installed to prevent overriding of user's changes
  4. Dropped multi k8s support from the CLI

CHECKLIST

Jira

Tests

codecov-commenter commented 1 year ago

Codecov Report

Attention: 47 lines in your changes are missing coverage. Please review.

Comparison is base (055f364) 5.38% compared to head (d832e66) 5.32%.

Files Patch % Lines
pkg/kubernetes/client/client.go 0.00% 32 Missing :warning:
pkg/install/install.go 0.00% 15 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #214 +/- ## ======================================== - Coverage 5.38% 5.32% -0.06% ======================================== Files 13 13 Lines 2805 2835 +30 ======================================== Hits 151 151 - Misses 2627 2657 +30 Partials 27 27 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.