apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: vault
  name: vault
spec:
  replicas: 1
  selector:
    matchLabels:
      app: vault
  strategy: {}
  template:
    metadata:
      labels:
        app: vault
    spec:
      containers:
      - image: vault:latest
        name: vault
        env:
        - name: VAULT_DEV_ROOT_TOKEN_ID
          value: "supersecret"
        - name: SKIP_SETCAP
          value: "1"
        securityContext:
          capabilities:
              add: ["IPC_LOCK"]
