I installed the CNPG operator into the namespace "cnpg" instead of "cnpg-system" using the following helm command
helm install --namespace cnpg --create-namespace --version 0.27.0 cnpg cnpg/cloudnative-pg
The install completed successfully and is being used with two different clusters currently. I then tried to install the Barman Cloud Plugin with the following command
helm install --namespace cnpg --create-namespace plugin-barman-cloud plugin-barman-cloud/cloudnative-pg
The following error was thrown
Error: INSTALLATION FAILED: Unable to continue with install: ConfigMap "cnpg-controller-manager-config" in namespace "cnpg" exists and cannot be imported into the current release: invalid ownership metadata; annotation validation error: key "meta.helm.sh/release-name" must equal "plugin-barman-cloud": current value is "cnpg"
I'm unsure how to remedy this. Manually changing the annotations works but cannot be done to all of the CRDs and objects. I've tried the following values to possibly override the annotations but I have had no luck.
namesapceOverride: "cnpg"
additionalEnv:
- name: RELEASE_NAME
- value: "cnpg"
Help would be appreciated.
I installed the CNPG operator into the namespace "cnpg" instead of "cnpg-system" using the following helm command
The install completed successfully and is being used with two different clusters currently. I then tried to install the Barman Cloud Plugin with the following command
The following error was thrown
I'm unsure how to remedy this. Manually changing the annotations works but cannot be done to all of the CRDs and objects. I've tried the following values to possibly override the annotations but I have had no luck.
Help would be appreciated.