vault-operator icon indicating copy to clipboard operation
vault-operator copied to clipboard

Namespace vault-operator error

Open GeekOnGadgets opened this issue 6 years ago • 2 comments

Hi,

When I try to create vault-operator per namespace it gives following error. Error: release vault-operator failed: customresourcedefinitions.apiextensions.k8s.io "vaultservices.vault.security.coreos.com" already exists.

Is this known issue?

Thanks

GeekOnGadgets avatar Oct 11 '18 22:10 GeekOnGadgets

I am also facing this issue . I created helm chart for hashicorp vault operator. Used stable/vault helm chart as reference. https://github.com/helm/charts/tree/master/stable/vault-operator First time if I could install as: helm install . --name vaulttest. (I pointed to the current folder where helm chart is stored locally and running) It succeeds. After sometime,again I try with another namespace as: helm install . --name vaulttest2 Got error as: Error: release vaulttest2 failed: customresourcedefinitions.apiextensions.k8s.io "vaultservices.vault.security.coreos.com" already exists.

CAn any one please help me?

veenabenoy avatar Aug 02 '19 06:08 veenabenoy

It’s running into a conflict because the CRDs already exist. This can be resolved by adding the following to any subsequent helm installs ‘—set rbac.create=false’

srleyva avatar Aug 02 '19 14:08 srleyva