fix(storj-node): run as root so migrations can complete (#2187)

* fix(storj-node): run as root so migrations can complete

* notes

* note 2

* notes
This commit is contained in:
Stavros Kois
2022-03-16 19:08:22 +02:00
committed by GitHub
parent ee34b96806
commit 2d5888b281
6 changed files with 21 additions and 5 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ sources:
- https://github.com/storj/storj
- https://docs.storj.io/node/
- https://hub.docker.com/r/storjlabs/storagenode
version: 1.0.2
version: 1.0.3
annotations:
truecharts.org/catagories: |
- media
+4 -4
View File
@@ -462,7 +462,7 @@ questions:
label: "ReadOnly Root Filesystem"
schema:
type: boolean
default: true
default: false
- variable: allowPrivilegeEscalation
label: "Allow Privilege Escalation"
schema:
@@ -472,7 +472,7 @@ questions:
label: "runAsNonRoot"
schema:
type: boolean
default: true
default: false
# Include{securityContextAdvanced}
- variable: podSecurityContext
@@ -487,13 +487,13 @@ questions:
description: "The UserID of the user running the application"
schema:
type: int
default: 568
default: 0
- variable: runAsGroup
label: "runAsGroup"
description: The groupID this App of the user running the application"
schema:
type: int
default: 568
default: 0
- variable: fsGroup
label: "fsGroup"
description: "The group that should own ALL storage."
+8
View File
@@ -3,9 +3,17 @@ image:
tag: v1.50.2@sha256:0e864b2acfeadf798a85bc2233b779be9bd69010cff005ab4911bb6eacb11c2e
pullPolicy: IfNotPresent
securityContext:
runAsNonRoot: false
readOnlyRootFilesystem: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
secret:
WALLET: "walletaddress"
env:
SETUP: true
EMAIL: ""
+4
View File
@@ -0,0 +1,4 @@
# Default Username/Password
__email__: `admin`
__password__: `admin`
+4
View File
@@ -0,0 +1,4 @@
# Default Username/Password
__email__: `admin`
__password__: `password`