I have a couple of deployments in Kubernetes packaged using Helm. Both the deployments are different but they share the same config map.
When performing installation via Helm the first deployment is successful but the second deployment fails with the below error.
Error: rendered manifests contain a resource that already exists. Unable to continue with install: ConfigMap "appconfig" in namespace "testnamespace" exists and cannot be imported into the current release: invalid ownership metadata; annotation validation error: key "meta.helm.sh/release-name" must equal "app2": current value is "app2"