Closed gris-gris closed 4 years ago
fix incoming in https://github.com/banzaicloud/bank-vaults/pull/1176
@bonifaido I also fixed this by adding CAP_SETFCAP in https://github.com/banzaicloud/bank-vaults/blob/master/operator/pkg/controller/vault/vault_controller.go#L1986 and rebuild the operator by myself.
But if you add the disable_mlock
to the config you will get the same results for the operator.
Describe the bug: Default vault creation process doesn't have CAP_SETFCAP capability in statefulset (https://github.com/banzaicloud/bank-vaults/blob/master/charts/vault/templates/statefulset.yaml#L125) This causes to CrashLoopBackOff.
Expected behaviour: Vault CR with default parameters created and started successfully
Steps to reproduce the bug:
Environment details:
unable to set CAP_SETFCAP effective capability: Operation not permitted
/kind bug