guerzon/vaultwarden

Error creating private key - when deploying

T1gas opened this issue · 2 comments

Hi team, got an error here.

When trying to deploy via the following manifest:

serviceAccount:
  create: true
  name: "vaultwarden-svc"


securityContext:
  allowPrivilegeEscalation: false
  privileged: false
  readOnlyRootFilesystem: true
  runAsNonRoot: true
  runAsGroup: 1001
  runAsUser: 1001
  capabilities:
    drop:
      - ALL

domain: "https://xxxxx.domain.xxx:8443"

resources:
  limits:
    cpu: 300m
    memory: 1Gi
  requests:
    cpu: 50m
    memory: 256Mi

data:
  name: "vaultwarden-data"
  size: "2Gi"
  class: "ceph-filesystem"
  path: "/data"
  keepPvc: false
  accessMode: "ReadWriteOnce"

webVaultEnabled: "true"

ingress:
  enabled: true
  class: "nginx"
  tls: true
  hostname: "vaultwarden-xx.domain.xxx"
  path: "/"
  pathType: "Prefix"
  tlsSecret: "xxxx"

gives the following error:

image

Is this expected?

Any help would be appreciated!

Hello @T1gas, can you verify if the PV is mounted properly as /data in the container?

It is fixed.
Was a permissions issue.

initContainers - solved for us.

Thank you!