Remove IPC_LOCK capability (#198)
* Remove IPC_LOCK capability * Remove tests for IPC_LOCK
This commit is contained in:
parent
13f6df4e6a
commit
497daa5f60
3 changed files with 0 additions and 13 deletions
|
@ -52,9 +52,6 @@ spec:
|
|||
containers:
|
||||
- name: vault
|
||||
{{ template "vault.resources" . }}
|
||||
securityContext:
|
||||
capabilities:
|
||||
add: ["IPC_LOCK"]
|
||||
image: {{ .Values.server.image.repository }}:{{ .Values.server.image.tag | default "latest" }}
|
||||
imagePullPolicy: {{ .Values.server.image.pullPolicy }}
|
||||
command: {{ template "vault.command" . }}
|
||||
|
|
|
@ -18,11 +18,6 @@ load _helpers
|
|||
jq -r '.initialized')
|
||||
[ "${init_status}" == "false" ]
|
||||
|
||||
# Security
|
||||
local ipc=$(kubectl get statefulset "$(name_prefix)" --output json |
|
||||
jq -r '.spec.template.spec.containers[0].securityContext.capabilities.add[0]')
|
||||
[ "${ipc}" == "IPC_LOCK" ]
|
||||
|
||||
# Replicas
|
||||
local replicas=$(kubectl get statefulset "$(name_prefix)" --output json |
|
||||
jq -r '.spec.replicas')
|
||||
|
|
|
@ -21,11 +21,6 @@ load _helpers
|
|||
jq -r '.initialized')
|
||||
[ "${init_status}" == "false" ]
|
||||
|
||||
# Security
|
||||
local ipc=$(kubectl get statefulset "$(name_prefix)" --output json |
|
||||
jq -r '.spec.template.spec.containers[0].securityContext.capabilities.add[0]')
|
||||
[ "${ipc}" == "IPC_LOCK" ]
|
||||
|
||||
# Replicas
|
||||
local replicas=$(kubectl get statefulset "$(name_prefix)" --output json |
|
||||
jq -r '.spec.replicas')
|
||||
|
|
Loading…
Reference in a new issue