Two Vault Instances from Helm in one K8s cluster

Hi All,
I’ve installed Vault in my kubernetes cluster and am trying to install the same chart in a different namespace from helm. I receive this error

Error: rendered manifests contain a resource that already exists. Unable to continue with install: ClusterRoleBinding "vault-server-binding" in namespace "" exists and cannot be imported into the current release: invalid ownership metadata; annotation validation error: key "meta.helm.sh/release-namespace" must equal "vault2": current value is "vault"

Is it possible to change the value of the ClusterRoleBinding in the helm chart?

All the objects the chart creates, get a name that starts with the string from this template:

i.e.:

  • You can change the Helm release name to something other than vault
  • You can set nameOverride in Helm values
  • You can set fullnameOverride in Helm values

depending on exactly what behaviour you’re looking for.