Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helm chart is missing capabilities config #387

Open
3 tasks done
olga-salesloft opened this issue Feb 27, 2024 · 2 comments
Open
3 tasks done

Helm chart is missing capabilities config #387

olga-salesloft opened this issue Feb 27, 2024 · 2 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@olga-salesloft
Copy link

olga-salesloft commented Feb 27, 2024

Preflight Checklist

  • I have searched the issue tracker for an issue that matches the one I want to file, without success.
  • I am not looking for support or already pursued the available support channels without success.
  • 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?

@olga-salesloft olga-salesloft added the kind/bug Categorizes issue or PR as related to a bug. label Feb 27, 2024
@dhaugli
Copy link

dhaugli commented Mar 5, 2024

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.

@github-actions github-actions bot added the lifecycle/stale Denotes an issue or PR that has become stale and will be auto-closed. label May 5, 2024
@adrianmoisey
Copy link

Ping.

@csatib02 csatib02 removed the lifecycle/stale Denotes an issue or PR that has become stale and will be auto-closed. label May 6, 2024
@bank-vaults bank-vaults deleted a comment from github-actions bot May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

4 participants