StarlingX Distributed Cloud Client
Go to file
Victor Romano 59d2f380f7 Re-add --force parameter for kube-rootca update strategy
To accommodate the upgraded subcloud from previous releases where the
kube-rootca_sync_status can be in-sync even without matching
certificates between subcloud and system controller, the kube-rootca
audit was changed to alarm based. Since the user might want to update
the cert for it to match between the two systems even with
kube-rootca_sync_status being in-sync, this commit adds the --force
parameter back to kube-rootca update strategy.

Test plan:
  - PASS: Perform a kube-rootca update strategy without --force in an
          out-of-sync subcloud and verify it completes successfully.
  - PASS: Perform a kube-rootca update strategy without --force in an
          in-sync subcloud and verify an exception is raised.
  - PASS: Perform a kube-rootca update strategy with --force in an
          in-sync subcloud and verify it completes successfully.

Depends-on: https://review.opendev.org/c/starlingx/distcloud/+/937874

Closes-bug: 2092069

Change-Id: I4dabe9811eaef8f82608576b0e70af109c57bc51
Signed-off-by: Victor Romano <victor.gluzromano@windriver.com>
2024-12-18 10:42:15 -03:00
distributedcloud-client Re-add --force parameter for kube-rootca update strategy 2024-12-18 10:42:15 -03:00
doc Fix distributedcloud-client openstack-tox-docs 2023-08-30 13:36:25 -03:00
releasenotes Switch to newer openstackdocstheme and reno versions 2020-06-04 14:16:03 +02:00
.git-blame-ignore-revs Change --patch to patch_id in Patch Update Strategy 2024-07-24 18:43:34 -03:00
.gitignore Fix coverage reporting for stx-distcloud-client 2018-11-21 12:12:43 -06:00
.gitreview OpenDev Migration Patch 2019-04-19 19:52:34 +00:00
.mailmap StarlingX open source release updates 2018-08-07 11:51:16 -04:00
.zuul.yaml Create a zuul job for black formatter 2024-06-24 09:52:54 -03:00
bindep.txt Adding py39 gate and removing py36 gates from zuul 2021-10-28 19:41:32 +00:00
CONTRIBUTING.rst StarlingX open source release updates 2018-08-07 11:51:16 -04:00
CONTRIBUTORS.wrs StarlingX open source release updates 2018-08-07 11:51:16 -04:00
debian_build_layer.cfg Add debian_build_layer.cfg file 2021-10-05 14:07:20 -04:00
debian_iso_image.inc Debian: distcloud-client: update debian_iso_image.inc 2022-11-18 08:14:03 +08:00
debian_pkg_dirs Add debian package for distributedcloud-client 2022-01-24 03:40:20 -03:00
HACKING.rst Update the URL in HACKING.rst 2018-09-23 16:31:32 +08:00
tox.ini Create a zuul job for black formatter 2024-06-24 09:52:54 -03:00