Has anyone run into issues running the latest vers...
# talk-kratos
c
Has anyone run into issues running the latest versions (v0.11.x+) of kratos-selfservice-ui-node with the k8s helm chart? When I try to update the tag I get:
Copy code
> @ory/kratos-selfservice-ui-node@0.12.0 serve
> node lib/index.js

npm ERR! code EROFS
npm ERR! syscall mkdir
npm ERR! path /home/node/.npm
npm ERR! errno -30
npm ERR! rofs EROFS: read-only file system, mkdir '/home/node/.npm'
npm ERR! rofs Often virtualized file systems, or other file systems
npm ERR! rofs that don't support symlinks, give this error.

npm ERR! Log files were not written due to an error writing to the directory: /home/node/.npm/_logs
npm ERR! You can rerun the command with `--loglevel=verbose` to see the logs in your terminal
v0.10.1 works fine (chart default)
Apparently this is only happening when installing via helm chart. Local docker container works properly.
What worked for me was to alter the securityContext like so (user id and readOnlyRootFilesystem=false): @bland-eye-99092.
Copy code
10         securityContext:
  9           allowPrivilegeEscalation: false
  8           capabilities:
  7             drop:
  6             - ALL
  5           privileged: false
  4           readOnlyRootFilesystem: false
  3           runAsGroup: 10000
  2           runAsNonRoot: true
  1           runAsUser: 10000
105           seccompProfile:
  1             type: RuntimeDefault
I think the helm chart needs to be updated to reflect that.