Skip to content

Commit

Permalink
Add missing capability (bank-vaults#1257)
Browse files Browse the repository at this point in the history
Signed-off-by: David J. M. Karlsen <[email protected]>
  • Loading branch information
davidkarlsen authored Feb 15, 2021
1 parent 04a9602 commit ac46ce9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion operator/pkg/controller/vault/vault_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -2019,7 +2019,7 @@ func withContainerSecurityContext(v *vaultv1alpha1.Vault) *corev1.SecurityContex
}
return &corev1.SecurityContext{
Capabilities: &corev1.Capabilities{
Add: []corev1.Capability{"IPC_LOCK"},
Add: []corev1.Capability{"IPC_LOCK", "SETFCAP"},
},
}
}
Expand Down

0 comments on commit ac46ce9

Please sign in to comment.