Do not allow PKI-KMS workers to have names updated via API (#3143)

Do not allow PKI-KMS workers to have names updated via API

This would cause their public IDs to change, which we do not want.

Descriptions are also disallowed, since those come from the config file.

This also adds logic to allow upgrading from old KMS method to new, with
a test.

Co-authored-by: Irena Rindos <irenarindos@users.noreply.github.com>
This commit is contained in:
Jeff MitchellandIrena Rindos authored and GitHub committed 2023-04-03 17:44:41 -04:00
1 parent b4a8032649
commit bdf7bf7702
13 files changed
+421 -141

No files matched your search

+1 -1
View File
@@ -36,7 +36,7 @@ golangci-lint:
$(eval GOLINT_INSTALLED := $(shell which golangci-lint))
if [ "$(GOLINT_INSTALLED)" = "" ]; then \
sh scripts/install-golangci-lint.sh -b $(GO_PATH)/bin v1.51.2; \
sh scripts/install-golangci-lint.sh -b $(GO_PATH)/bin v1.52.2; \
fi;
.PHONY: cleangen