vault-operator
vault-operator copied to clipboard
Helm chart is missing capabilities config
Preflight Checklist
- [X] I have searched the issue tracker for an issue that matches the one I want to file, without success.
- [X] I am not looking for support or already pursued the available support channels without success.
- [X] I agree to follow the Code of Conduct.
Operator Version
v1.21.2
Installation Type
Official Helm chart
Bank-Vaults Version
v1.31.0
Kubernetes Version
1.27.0
Kubernetes Distribution/Provisioner
GKE
Expected Behavior
PDB template has been added recently https://github.com/bank-vaults/vault-operator/pull/324/files and it should works.
Actual Behavior
However, I see the error with PDB template
template: vault-operator/templates/pdb.yaml:2:15: executing "vault-operator/templates/pdb.yaml" at <include "common.capabilities.policy.apiVersion" .>: error calling include: template: no template "common.capabilities.policy.apiVersion" associated with template "gotpl"
I believe this common.capabilities.policy.apiVersion
should be define in _helpers.tpl
or separate file _capabilities.tpl
or in chart.yaml
as dependence but it doesn't.
Kindly ask if someone can have a look?
We had the same issue, we found that setting replicacount to more than 1 ie: 2,3 and so on. Will give you this issue. Since this is just the operator and not vault itself. Set it to 1 should fix your issue.
Ping.
Fixed by: https://github.com/bank-vaults/vault-operator/pull/527