nats-io / nack

NATS Controllers for Kubernetes (NACK)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

installation of nack controller via Helm chart - Error

pralow opened this issue · comments

While installing the nack getting this error.

is there any additional roles is needed ?

panic: mkdir ./nack1490200196: permission denied

goroutine 1 [running]:
github.com/nats-io/nack/controllers/jetstream.NewController({{0x198de78, 0xc000508180}, {0x19d17f0, 0xc00051a160}, {0x197aaa8, 0xc00050a300}, {0x16d5009, 0x14}, {0x0, 0x0}, ...})
/go/src/nack/controllers/jetstream/controller.go:150 +0xd89
main.run()
/go/src/nack/cmd/jetstream-controller/main.go:103 +0x725
main.main()
/go/src/nack/cmd/jetstream-controller/main.go:44 +0x19

in the values.yaml file, following security context was used for the installation.

securityContext:
fsGroup: 65534
runAsUser: 65534
runAsNonRoot: true

containerSecurityContext:
allowPrivilegeEscalation: true
readOnlyRootFilesystem: false

securitycontext was the issue ,

securityContext:
runAsUser: 0